From a16a2d08cd05d40b0ea3c0e24985608047baab80 Mon Sep 17 00:00:00 2001 From: Przemyslaw Motacki Date: Tue, 10 Dec 2024 12:42:37 +0100 Subject: [PATCH] fix for structured types strings --- .../structuredtypes/ResultSetStructuredTypesLatestIT.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/test/java/net/snowflake/client/jdbc/structuredtypes/ResultSetStructuredTypesLatestIT.java b/src/test/java/net/snowflake/client/jdbc/structuredtypes/ResultSetStructuredTypesLatestIT.java index 532d78ace..01e5fde96 100644 --- a/src/test/java/net/snowflake/client/jdbc/structuredtypes/ResultSetStructuredTypesLatestIT.java +++ b/src/test/java/net/snowflake/client/jdbc/structuredtypes/ResultSetStructuredTypesLatestIT.java @@ -263,9 +263,7 @@ public void testReturnAsArrayOfNullableFieldsInSqlData(ResultSetFormatType forma + "'date', null, 'bd', null, 'bytes', null, 'longValue', null)" + "::OBJECT(string VARCHAR, nullableIntValue INTEGER, nullableLongValue INTEGER, date DATE, bd DOUBLE, bytes BINARY, longValue INTEGER)", (resultSet) -> { - NullableFieldsSqlData result = - resultSet - .getObject(1, NullableFieldsSqlData.class); + NullableFieldsSqlData result = resultSet.getObject(1, NullableFieldsSqlData.class); assertNull(result.getString()); assertNull(result.getNullableIntValue()); assertNull(result.getNullableLongValue());