Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
ghx-label-14
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') +----------------------------------------------------------------------+