[ 
https://issues.apache.org/jira/browse/IMPALA-15054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18098286#comment-18098286
 ] 

ASF subversion and git services commented on IMPALA-15054:
----------------------------------------------------------

Commit c4fe178bac387c82dda0e79e48dced999d8a7fdf in impala's branch 
refs/heads/master from Zoltan Borok-Nagy
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=c4fe178ba ]

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).

Test handling for the behaviour change. Where a query specifically uses
the collection-join/unnest syntax, expands a struct via '.*', or is a
dedicated/paired complex-type test, EXPAND_COMPLEX_TYPES is pinned to
false so the query keeps its previous meaning; incidental top-level
'SELECT *' tests adopt the new default and their expected results are
regenerated.

Change-Id: I6cf01f0b6bb3b5fa2aa770c77bc772abf9cc84b2
Assisted-by: Claude Opus 4.8 (1M context) <[email protected]>
Reviewed-on: http://gerrit.cloudera.org:8080/24543
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Set expand_complex_types to true by default
> -------------------------------------------
>
>                 Key: IMPALA-15054
>                 URL: https://issues.apache.org/jira/browse/IMPALA-15054
>             Project: IMPALA
>          Issue Type: Improvement
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Zoltán Borók-Nagy
>            Priority: Major
>             Fix For: Impala 5.0.0
>
>
> With Impala 5, we could set expand_complex_types to true by default.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to