Arnab Karmakar has posted comments on this change. ( https://gerrit.cloudera.org/25413 )
Change subject: IMPALA-15470/IMPALA-4061: Set fields of NULL structs to NULL in Avro scans ...................................................................... Patch Set 3: (6 comments) Thanks for the comments! https://gerrit.cloudera.org/#/c/25413/2//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/25413/2//COMMIT_MSG@11 PS2, Line 11: didn't : set the null indicators of the struct's fields, so they returned > This sentence doesn't parse. Also, Avro scans have no slot for the struct i Done https://gerrit.cloudera.org/#/c/25413/2//COMMIT_MSG@19 PS2, Line 19: exactly. Iceberg file > Please state the result: Avro files that differ from the table schema only Done https://gerrit.cloudera.org/#/c/25413/2/testdata/workloads/functional-query/queries/QueryTest/iceberg-avro-struct.test File testdata/workloads/functional-query/queries/QueryTest/iceberg-avro-struct.test: https://gerrit.cloudera.org/#/c/25413/2/testdata/workloads/functional-query/queries/QueryTest/iceberg-avro-struct.test@1 PS2, Line 1: ==== > The fixture has only one struct level, so the recursion in SetNestedSlotsNu Replaced the fixture with a new one that has two levels of nesting. https://gerrit.cloudera.org/#/c/25413/2/testdata/workloads/functional-query/queries/QueryTest/iceberg-avro-struct.test@31 PS2, Line 31: # IMPALA-15470: NULL fields of a nested struct must be NULL too. s2 is NULL in row 2, > IMPALA-4061's repro also has SELECT id on a V3 VARIANT table in Avro, and i Done https://gerrit.cloudera.org/#/c/25413/2/tests/query_test/test_iceberg.py File tests/query_test/test_iceberg.py: https://gerrit.cloudera.org/#/c/25413/2/tests/query_test/test_iceberg.py@1560 PS2, Line 1560: "testdata/data/iceberg_test/iceberg_mixed_file_format_test/data/{0}") > Nothing checks that the disable_codegen=False run really decodes with the c Done https://gerrit.cloudera.org/#/c/25413/2/tests/query_test/test_iceberg.py@1563 PS2, Line 1563: file_parq1 = "00000-0-data-gfurnstahl_20220906113044_157fc172-f5d3-4c70-8653-" \ > Nit: disable_codegen_rows_threshold is already 0 in the default dimension. Created a new test class TestIcebergAvroStruct with the correct dimensions. -- To view, visit https://gerrit.cloudera.org/25413 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: If45b48b46bf23234371ea1e774a9e6c6a06d41ad Gerrit-Change-Number: 25413 Gerrit-PatchSet: 3 Gerrit-Owner: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Fri, 13 Nov 2026 06:30:54 +0000 Gerrit-HasComments: Yes
