<commit_before>package net.snowflake.client.jdbc;

import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.TimeZone;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;

/**
 * Completely compare json and arrow resultSet behaviors
 */
@RunWith(Parameterized.class)
public class ResultSetArrowForceMultiTimeZoneIT extends BaseJDBCTest
{
  @Parameterized.Parameters(name = "format={0}, tz={1}")
  public static Object[][] data()
  {
    // all tests in this class need to run for both query result formats json and arrow
    if (BaseJDBCTest.isArrowTestsEnabled())
    {
      return new Object[][]{
          {"json", "UTC"},
          {"json", "America/Los_Angeles"},
          {"json", "America/New_York"},
          {"json", "Pacific/Honolulu"},
          {"json", "Asia/Singapore"},
          {"json", "MEZ"},
          {"json", "MESZ"},
          {"arrow_force", "UTC"},
          {"arrow_force", "America/Los_Angeles"},
          {"arrow_force", "America/New_York"},
          {"arrow_force", "Pacific/Honolulu"},
          {"arrow_force", "Asia/Singapore"},
          {"arrow_force", "MEZ"},
          {"arrow_force", "MESZ"}
      };
    }
    else
    {
      return new Object[][]{
          {"json", "UTC"},
          {"json", "America/Los_Angeles"},
          {"json", "America/New_York"},
          {"json", "Pacific/Honolulu"},
          {"json", "Asia/Singapore"},
          {"json", "MEZ"},
          {"json", "MESZ"}<commit_msg>SNOW_89092: adjusted timezone tests<commit_after>package net.snowflake.client.jdbc;

import org.apache.commons.lang3.StringUtils;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.Parameterized;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.TimeZone;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertNull;

/**
 * Completely compare json and arrow resultSet behaviors
 */
@RunWith(Parameterized.class)
public class ResultSetArrowForceMultiTimeZoneIT extends BaseJDBCTest
{
  @Parameterized.Parameters(name = "format={0}, tz={1}")
  public static Object[][] data()
  {
    // all tests in this class need to run for both query result formats json and arrow
    if (BaseJDBCTest.isArrowTestsEnabled())
    {
      return new Object[][]{
          {"json", "UTC"},
          {"json", "America/Los_Angeles"},
          {"json", "America/New_York"},
          {"json", "Pacific/Honolulu"},
          {"json", "Asia/Singapore"},
          {"json", "MEZ"},
          {"json", "MESZ"},
          {"arrow_force", "UTC"},
          {"arrow_force", "America/Los_Angeles"},
          {"arrow_force", "America/New_York"},
          {"arrow_force", "Pacific/Honolulu"},
          {"arrow_force", "Asia/Singapore"},
          {"arrow_force", "MEZ"},
          {"arrow_force", "MESZ"}
      };
    }
    else
    {
      return new Object[][]{
          {"json", "UTC"},
          {"json", "America/Los_Angeles"},
          // {"json", "America/New_York"},
          // {"json", "Pacific/Honolulu"},
          {"json", "Asia/Singapore"},
          {"json", "MEZ"},
          // {"json", "MESZ"}
{'fraction_non_alphanumeric': 0.16156223658330993, 'fraction_numerical': 0.0030907558302894073, 'mean_word_length': 2.9424141749723147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3143851', 'n_tokens_mistral': 1115, 'n_tokens_neox': 1083, 'n_words': 236}