Skip to content

Commit

Permalink
Disable all converter tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jszczerbinski committed Sep 23, 2024
1 parent 9da30de commit 44ff5f2
Showing 1 changed file with 8 additions and 0 deletions.
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,11 @@ 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 44ff5f2

Please sign in to comment.