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

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

Commit 74617537b5c805327349ef0ac5c79b84dc1e786d in impala's branch 
refs/heads/master from Tamas Mate
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=74617537b ]

IMPALA-12706: Fix nested struct querying for Iceberg metadata tables

This commit fixes a DCHECK failure when querying a struct inside a
struct. The previous field accessor creation logic was trying to find
the ColumnDescriptor for a struct inside a struct and hit a DCHECK
because there are no ColumnDescriptors for struct fields. The logic
has been reworked to only use ColumnDescriptors for top level columns.

Testing:
 - Added E2E test to cover this case

Change-Id: Iadd029a4edc500bd8d8fca3f958903c2dbe09e8e
Reviewed-on: http://gerrit.cloudera.org:8080/20883
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Failing DCHECK when querying STRUCT inside a STRUCT for Iceberg metadata table
> ------------------------------------------------------------------------------
>
>                 Key: IMPALA-12706
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12706
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Backend
>    Affects Versions: Impala 4.4.0
>            Reporter: Tamas Mate
>            Assignee: Tamas Mate
>            Priority: Major
>              Labels: impala-iceberg
>
> When querying a STRUCT type inside a STRUCT type there is a failing DCHECK.
> {code:none}
> F0111 09:01:35.626691 15777 descriptors.h:366] 
> 83474e353d7baccd:d966f47c00000000] Check failed: slot_desc->col_path().size() 
> == 1 (2 vs. 1)
> {code}
> While the following is working:
> {code:none}
> select readable_metrics from 
> functional_parquet.iceberg_query_metadata.data_files;
> {code}
> this fails:
> {code:none}
> select readable_metrics.i from 
> functional_parquet.iceberg_query_metadata.data_files;
> {code}



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