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

Iceberg PARTITION SPEC missing from SHOW CREATE TABLE

    XMLWordPrintableJSON

Details

    Description

      The PARTITION SPEC is missing from the SHOW CREATE TABLE output for Iceberg tables.

      This is how I created a table:

      create table iceberg_tmp2 (
        i int, 
        s string, 
        p1 string,
        p2 timestamp
      ) 
      partition by spec (
        p1 identity, 
        p2 Day
      ) 
      stored as iceberg;
      

      And this is the output of SHOW CREATE TABLE for the same table:

      +-----------------------------------------------------------+
      | CREATE EXTERNAL TABLE default.iceberg_tmp2 (
      |   i INT,
      |   s STRING, 
      |   p1 STRING,
      |   p2 TIMESTAMP
      | )
      | STORED AS ICEBERG 
      | LOCATION 'hdfs://localhost:20500/test-warehouse/iceberg_tmp2'                                                        | TBLPROPERTIES ('OBJCAPABILITIES'='EXTREAD,EXTWRITE', 'external.table.purge'='TRUE', 'iceberg_file_format'='parquet')
      +----------------------------------------------------------------------+
      

      Attachments

        Activity

          People

            gaborkaszab Gabor Kaszab
            gaborkaszab Gabor Kaszab
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: