Skip to content

Commit

Permalink
Merge branch 'master' into SNOW-1675321-remove-account-identifier-que…
Browse files Browse the repository at this point in the history
…stion
  • Loading branch information
sfc-gh-wfateem authored Sep 26, 2024
2 parents 055fc4d + 9597576 commit 4c1ff8b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ timestamps {
}.collectEntries { jobDefinition ->
return [(jobDefinition.runName): { build job: jobDefinition.jobToRun, parameters: jobDefinition.params }]
}

jobDefinitions.put('JDBC-AIX-Unit', { build job: 'JDBC-AIX-UnitTests', parameters: [ string(name: 'BRANCH', value: scmInfo.GIT_BRANCH ) ] } )
stage('Test') {
parallel (jobDefinitions)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@
*/
package net.snowflake.client.core.arrow;

import java.nio.ByteOrder;
import java.util.TimeZone;
import net.snowflake.client.core.DataConversionContext;
import net.snowflake.client.core.SFSession;
import net.snowflake.client.jdbc.ErrorCode;
import net.snowflake.common.core.SFBinaryFormat;
import net.snowflake.common.core.SnowflakeDateTimeFormat;
import org.junit.After;
import org.junit.Assume;
import org.junit.Before;

public class BaseConverterTest implements DataConversionContext {
private SnowflakeDateTimeFormat dateTimeFormat =
Expand All @@ -32,6 +35,13 @@ public void clearTimeZone() {
System.clearProperty("user.timezone");
}

@Before
public void assumeLittleEndian() {
Assume.assumeTrue(
"Arrow doesn't support cross endianness",
ByteOrder.nativeOrder().equals(ByteOrder.LITTLE_ENDIAN));
}

@Override
public SnowflakeDateTimeFormat getTimestampLTZFormatter() {
return timestampLTZFormat;
Expand Down

0 comments on commit 4c1ff8b

Please sign in to comment.