Arnab Karmakar has posted comments on this change. ( http://gerrit.cloudera.org:8080/24933 )
Change subject: IMPALA-15142: Enable late materialization for VARIANT in Parquet ...................................................................... Patch Set 3: (4 comments) Thanks for working on this! http://gerrit.cloudera.org:8080/#/c/24933/3//COMMIT_MSG Commit Message: http://gerrit.cloudera.org:8080/#/c/24933/3//COMMIT_MSG@9 PS3, Line 9: VariantColumnReader reported itself as a struct reader, so a VARIANT IsStructReader() was already false, it was HasStructReader() that returned true. http://gerrit.cloudera.org:8080/#/c/24933/3/be/src/exec/parquet/hdfs-parquet-scanner.cc File be/src/exec/parquet/hdfs-parquet-scanner.cc: http://gerrit.cloudera.org:8080/#/c/24933/3/be/src/exec/parquet/hdfs-parquet-scanner.cc@3024 PS3, Line 3024: return Status(Substitute("VARIANT column '$0' in file '$1' or one of its " The error message sounds as if the file could have children. Something like "VARIANT column $0 or one of its children is repeated in the parquet schema of file $1" reads clearer. http://gerrit.cloudera.org:8080/#/c/24933/3/be/src/exec/parquet/parquet-variant-column-reader.h File be/src/exec/parquet/parquet-variant-column-reader.h: http://gerrit.cloudera.org:8080/#/c/24933/3/be/src/exec/parquet/parquet-variant-column-reader.h@68 PS3, Line 68: report that For a corrupt file where the variant column may have more columns, the scanner would give the generic message whereas for fewer rows, we'd get a clearer message with UndoLevelsReadahead(). The suggestion is to do the same for more rows. http://gerrit.cloudera.org:8080/#/c/24933/3/tests/query_test/test_iceberg.py File tests/query_test/test_iceberg.py: http://gerrit.cloudera.org:8080/#/c/24933/3/tests/query_test/test_iceberg.py@2641 PS3, Line 2641: def test_v3_variant_late_materialization(self, vector, unique_database): The tests are very expensive and run in core. If constraining the matrix makes it weaker can we move some combinations to exhaustive? -- To view, visit http://gerrit.cloudera.org:8080/24933 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I9150cbc9dce6554e17ad06a874a66e1cdf101eda Gerrit-Change-Number: 24933 Gerrit-PatchSet: 3 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]> Gerrit-Reviewer: Arnab Karmakar <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Comment-Date: Tue, 13 Oct 2026 03:57:08 +0000 Gerrit-HasComments: Yes
