Skip to content

Commit

Permalink
fix for structured types strings
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-pmotacki committed Dec 10, 2024
1 parent cc0e6c7 commit a16a2d0
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit a16a2d0

Please sign in to comment.