Gabor Kaszab created IMPALA-10184:
-------------------------------------

             Summary: Iceberg PARTITION SPEC missing from SHOW CREATE TABLE
                 Key: IMPALA-10184
                 URL: https://issues.apache.org/jira/browse/IMPALA-10184
             Project: IMPALA
          Issue Type: Bug
          Components: Frontend
            Reporter: Gabor Kaszab


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

This is how I created a table:
{code:java}
create table iceberg_tmp2 (
  i int, 
  s string, 
  p1 string,
  p2 timestamp
) 
partition by spec (
  p1 identity, 
  p2 Day
) 
stored as iceberg;
{code}
And this is the output of SHOW CREATE TABLE for the same table:
{code:java}
+-----------------------------------------------------------+
| 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')
+----------------------------------------------------------------------+
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to