Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-12845

Crash with DESCRIBE on a complex type from an Iceberg table

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None
    • None
    • ghx-label-1

    Description

      A DESCRIBE statement on a struct contained in an Iceberg table crashes Impala:

      In Hive:

      create table ice_struct (id INT, s STRUCT<i: INT>) stored by iceberg;

      In Impala:

      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

      The logs in impalad.FATAL indicate that we hit a DCHECK:

      F0227 11:53:49.936864 680819 query-result-set.cc:386] Check failed: num_col == metadata_.columns.size() (3 vs. 4)

       

      Note that this also happens with Iceberg metadata tables, for example:

      describe functional_parquet.iceberg_query_metadata.entries.readable_metrics;

      With non-Iceberg tables there is no error.

      Attachments

        Issue Links

          Activity

            People

              daniel.becker Daniel Becker
              daniel.becker Daniel Becker
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: