Skip to content

Commit

Permalink
SNOW-1761519 Fix empty arrays in Iceberg ingestion (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-mbobowski authored Nov 20, 2024
1 parent d969e97 commit c3273c1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public class ComplexJsonRecord {
true,
ImmutableList.of(1, 2, 3),
ImmutableList.of("a", "b", "c"),
ImmutableList.of(true), // FIXME: SNOW-1761519 here should be empty array
ImmutableList.of(),
null,
ImmutableList.of(ImmutableList.of(7, 8, 9), ImmutableList.of(10, 11, 12)),
PrimitiveJsonRecord.primitiveJsonRecordValueExample,
Expand All @@ -48,7 +48,7 @@ public class ComplexJsonRecord {
+ " \"approval\": true,"
+ " \"array1\": [1, 2, 3],"
+ " \"array2\": [\"a\", \"b\", \"c\"],"
+ " \"array3\": [true]," // FIXME: SNOW-1761519 here should be empty array
+ " \"array3\": [],"
+ " \"array4\": null,"
+ " \"array5\": [[7, 8, 9], [10, 11, 12]],"
+ " \"nestedRecord\": "
Expand Down

0 comments on commit c3273c1

Please sign in to comment.