You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Daniel Becker (Jira)" <ji...@apache.org> on 2024/02/27 11:08:00 UTC

[jira] [Created] (IMPALA-12845) Crash with DESCRIBE on a struct from an Iceberg table

Daniel Becker created IMPALA-12845:
--------------------------------------

             Summary: Crash with DESCRIBE on a struct 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


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-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org