[ 
https://issues.apache.org/jira/browse/IMPALA-12845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Becker updated IMPALA-12845:
-----------------------------------
    Summary: Crash with DESCRIBE on a complex type from an Iceberg table  (was: 
Crash with DESCRIBE on a struct from an Iceberg table)

> Crash with DESCRIBE on a complex type from an Iceberg table
> -----------------------------------------------------------
>
>                 Key: IMPALA-12845
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12845
>             Project: IMPALA
>          Issue Type: Bug
>            Reporter: Daniel Becker
>            Assignee: Daniel Becker
>            Priority: Major
>
> A DESCRIBE statement on a struct contained in an Iceberg table crashes Impala:
> In Hive:
> {code:java}
> create table ice_struct (id INT, s STRUCT<i: INT>) stored by iceberg;{code}
> In Impala:
> {code:java}
> describe ice_struct.s
> Caught exception TSocket read 0 bytes, type=<class 
> 'thrift.transport.TTransport.TTransportException'> in FetchResults. 
> Error communicating with impalad: TSocket read 0 bytes{code}
> The logs in impalad.FATAL indicate that we hit a DCHECK:
> {code:java}
> F0227 11:53:49.936864 680819 query-result-set.cc:386] Check failed: num_col 
> == metadata_.columns.size() (3 vs. 4){code}
>  
> Note that this also happens with Iceberg metadata tables, for example:
> {code:java}
> describe 
> functional_parquet.iceberg_query_metadata.entries.readable_metrics;{code}
> With non-Iceberg tables there is no error.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to