[ https://issues.apache.org/jira/browse/HIVE-25326?focusedWorklogId=621892&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-621892 ]
ASF GitHub Bot logged work on HIVE-25326: ----------------------------------------- Author: ASF GitHub Bot Created on: 13/Jul/21 09:37 Start Date: 13/Jul/21 09:37 Worklog Time Spent: 10m Work Description: marton-bod commented on a change in pull request #2472: URL: https://github.com/apache/hive/pull/2472#discussion_r668597490 ########## File path: iceberg/iceberg-handler/src/test/queries/positive/describe_iceberg_table.q ########## @@ -0,0 +1,22 @@ +DROP TABLE IF EXISTS ice_t; +CREATE EXTERNAL TABLE ice_t (i int, s string, ts timestamp, d date) STORED BY ICEBERG; + +DROP TABLE IF EXISTS ice_t_transform; +CREATE EXTERNAL TABLE ice_t_transform (year_field date, month_field date, day_field date, hour_field timestamp, truncate_field string, bucket_field int, identity_field int) PARTITIONED BY SPEC (year(year_field), month(month_field), day(day_field), hour(hour_field), truncate(2, truncate_field), bucket(2, bucket_field), identity_field) STORED BY ICEBERG; + +DROP TABLE IF EXISTS ice_t_transform_prop; +CREATE EXTERNAL TABLE ice_t_transform_prop (id int, year_field date, month_field date, day_field date, hour_field timestamp, truncate_field string, bucket_field int, identity_field int) STORED BY ICEBERG TBLPROPERTIES ('iceberg.mr.table.partition.spec'='{"spec-id":0,"fields":[{"name":"year_field_year","transform":"year","source-id":1,"field-id":1000},{"name":"month_field_month","transform":"month","source-id":2,"field-id":1001},{"name":"day_field_day","transform":"day","source-id":3,"field-id":1002},{"name":"hour_field_hour","transform":"hour","source-id":4,"field-id":1003},{"name":"truncate_field_trunc","transform":"truncate[2]","source-id":5,"field-id":1004},{"name":"bucket_field_bucket","transform":"bucket[2]","source-id":6,"field-id":1005},{"name":"identity_field","transform":"identity","source-id":7,"field-id":1006}]}'); + +DROP TABLE IF EXISTS ice_t_identity_part; +CREATE EXTERNAL TABLE ice_t_identity_part (a int) PARTITIONED BY (b string) STORED BY ICEBERG; + +DESCRIBE FORMATTED ice_t; +DESCRIBE FORMATTED ice_t_transform; +DESCRIBE FORMATTED ice_t_transform_prop; +DESCRIBE FORMATTED ice_t_identity_part; + +SET hive.ddl.output.format=json; +DESCRIBE EXTENDED ice_t; Review comment: The json output of these are not supposed to show up in the q.out file? Is it because `EXTENDED` is used here or because the output format is json? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: gitbox-unsubscr...@hive.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org Issue Time Tracking ------------------- Worklog Id: (was: 621892) Time Spent: 20m (was: 10m) > Include partitioning info in DESCRIBE TABLE command on Iceberg tables > --------------------------------------------------------------------- > > Key: HIVE-25326 > URL: https://issues.apache.org/jira/browse/HIVE-25326 > Project: Hive > Issue Type: Improvement > Reporter: László Pintér > Assignee: László Pintér > Priority: Major > Labels: pull-request-available > Time Spent: 20m > Remaining Estimate: 0h > -- This message was sent by Atlassian Jira (v8.3.4#803005)