Zoltan Borok-Nagy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/24543
Change subject: WIP: IMPALA-15054: Set EXPAND_COMPLEX_TYPES to true by default ...................................................................... WIP: IMPALA-15054: Set EXPAND_COMPLEX_TYPES to true by default Flips the default of the EXPAND_COMPLEX_TYPES query option from false to true so that '*' expressions include complex-typed (ARRAY/MAP/STRUCT) columns by default. - common/thrift/Query.thrift: change the default to true. - Docs: update the EXPAND_COMPLEX_TYPES default and rationale, rework the complex-types SELECT * example, add an Impala 5.0.x incompatible-changes entry, and clarify the Iceberg metadata-tables note. - SelectStmt.java: refresh stale comments (the empty-select-list invariant in analyzeStarItem still holds under the new default). - AnalyzeStmtsTest / PlannerTest: run the cases that specifically exercise the no-expand behavior with EXPAND_COMPLEX_TYPES=false. - .test files: pin EXPAND_COMPLEX_TYPES=false on blocks that use the collection-join syntax or are dedicated/paired complex-type tests; let incidental 'SELECT *' tests adopt the new default (virtual-column-file-position-parquet regenerated). - ranger_column_masking_complex_types.test: regenerated for the new default. SELECT * / STRUCT.* now return the complex columns Change-Id: I6cf01f0b6bb3b5fa2aa770c77bc772abf9cc84b2 Assisted-by: Claude Opus 4.8 (1M context) <[email protected]> --- M common/thrift/Query.thrift M docs/topics/impala_complex_types.xml M docs/topics/impala_expand_complex_types.xml M docs/topics/impala_iceberg.xml M docs/topics/impala_incompatible_changes.xml M fe/src/main/java/org/apache/impala/analysis/SelectStmt.java M fe/src/test/java/org/apache/impala/analysis/AnalyzeStmtsTest.java M fe/src/test/java/org/apache/impala/planner/PlannerTest.java M testdata/workloads/functional-query/queries/QueryTest/iceberg-metadata-tables.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-migrated-table-field-id-resolution-complex.test M testdata/workloads/functional-query/queries/QueryTest/iceberg-v3-negative.test M testdata/workloads/functional-query/queries/QueryTest/lineage.test M testdata/workloads/functional-query/queries/QueryTest/nested-types-star-expansion.test M testdata/workloads/functional-query/queries/QueryTest/nested-types-tpch-mem-limit.test M testdata/workloads/functional-query/queries/QueryTest/ranger_column_masking_complex_types.test M testdata/workloads/functional-query/queries/QueryTest/virtual-column-file-position-parquet.test 16 files changed, 130 insertions(+), 65 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/43/24543/1 -- To view, visit http://gerrit.cloudera.org:8080/24543 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I6cf01f0b6bb3b5fa2aa770c77bc772abf9cc84b2 Gerrit-Change-Number: 24543 Gerrit-PatchSet: 1 Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>
