From 35802397b8922f3eccde0f3cd3a2a2fd0fbe9f51 Mon Sep 17 00:00:00 2001 From: Przemyslaw Motacki Date: Wed, 27 Mar 2024 22:50:47 +0100 Subject: [PATCH] SNOW-1259709 - basic types for arrays and maps - fix for date/time types --- .../ResultSetStructuredTypesLatestIT.java | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/test/java/net/snowflake/client/jdbc/ResultSetStructuredTypesLatestIT.java b/src/test/java/net/snowflake/client/jdbc/ResultSetStructuredTypesLatestIT.java index 110404391..f16f2d0ec 100644 --- a/src/test/java/net/snowflake/client/jdbc/ResultSetStructuredTypesLatestIT.java +++ b/src/test/java/net/snowflake/client/jdbc/ResultSetStructuredTypesLatestIT.java @@ -346,7 +346,7 @@ public void testMapStructsFromChunks() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapIntegerArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -360,7 +360,7 @@ public void testMapIntegerArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapFixedToLongArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -374,7 +374,7 @@ public void testMapFixedToLongArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapDecimalArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); // when: jdbc_treat_decimal_as_int=true scale=0 @@ -419,7 +419,7 @@ public void testMapDecimalArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapVarcharArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -434,7 +434,7 @@ public void testMapVarcharArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapDatesArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -447,7 +447,7 @@ public void testMapDatesArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapTimeArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -460,7 +460,7 @@ public void testMapTimeArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapTimestampArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -475,7 +475,7 @@ public void testMapTimestampArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapBooleanArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -488,7 +488,7 @@ public void testMapBooleanArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapBinaryArray() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -501,7 +501,7 @@ public void testMapBinaryArray() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapArrayOfStructToMap() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -514,7 +514,7 @@ public void testMapArrayOfStructToMap() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testMapArrayOfArrays() throws SQLException { Assume.assumeTrue(queryResultFormat != ResultSetFormatType.NATIVE_ARROW); withFirstRow( @@ -527,7 +527,7 @@ public void testMapArrayOfArrays() throws SQLException { } @Test - @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) +// @ConditionalIgnoreRule.ConditionalIgnore(condition = RunningOnGithubAction.class) public void testColumnTypeWhenStructureTypeIsDisabled() throws Exception { withStructureTypeTemporaryDisabled( () -> {