Zoltan Borok-Nagy has posted comments on this change. ( 
https://gerrit.cloudera.org/24933 )

Change subject: IMPALA-15142: Enable late materialization for VARIANT in Parquet
......................................................................


Patch Set 4:

(4 comments)

Thanks for the comments!

https://gerrit.cloudera.org/#/c/24933/3//COMMIT_MSG
Commit Message:

https://gerrit.cloudera.org/#/c/24933/3//COMMIT_MSG@9
PS3, Line 9: VariantColumnReader::HasStructReader() returned true, so a VARIANT
> IsStructReader() was already false, it was HasStructReader() that returned
Done.


https://gerrit.cloudera.org/#/c/24933/3/be/src/exec/parquet/hdfs-parquet-scanner.cc
File be/src/exec/parquet/hdfs-parquet-scanner.cc:

https://gerrit.cloudera.org/#/c/24933/3/be/src/exec/parquet/hdfs-parquet-scanner.cc@3024
PS3, Line 3024:       for (const SchemaNode& child : node->children) repeated 
|= child.is_repeated();
> The error message sounds as if the file could have children. Something like
Done.


https://gerrit.cloudera.org/#/c/24933/3/be/src/exec/parquet/parquet-variant-column-reader.h
File be/src/exec/parquet/parquet-variant-column-reader.h:

https://gerrit.cloudera.org/#/c/24933/3/be/src/exec/parquet/parquet-variant-column-reader.h@68
PS3, Line 68: nd too. If
> For a corrupt file where the variant column may have more columns, the scan
Done, SetRowGroupAtEnd() now reports "column 'v' has more rows than the other 
columns of the row group", and SetNonFilterReadersAtRowGroupEnd() returns that 
instead of the generic error.


https://gerrit.cloudera.org/#/c/24933/3/tests/query_test/test_iceberg.py
File tests/query_test/test_iceberg.py:

https://gerrit.cloudera.org/#/c/24933/3/tests/query_test/test_iceberg.py@2641
PS3, Line 2641:     for table in ["iceberg_v3_variant_short_id", 
"iceberg_v3_variant_short_value",
> The tests are very expensive and run in core. If constraining the matrix ma
Moved the two late materialization tests to 
TestIcebergV3VariantLateMaterialization. Core runs them only with codegen 
enabled (late materialization doesn't depend on it) and each threshold with one 
batch size; exhaustive runs every combination. The multipage test went from 
4x154 to 2x92 queries in core



--
To view, visit https://gerrit.cloudera.org/24933
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I9150cbc9dce6554e17ad06a874a66e1cdf101eda
Gerrit-Change-Number: 24933
Gerrit-PatchSet: 4
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-Reviewer: Zoltan Borok-Nagy <[email protected]>
Gerrit-Comment-Date: Tue, 03 Nov 2026 17:19:18 +0000
Gerrit-HasComments: Yes

Reply via email to