[ https://issues.apache.org/jira/browse/HIVE-25314?focusedWorklogId=620864&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-620864 ]
ASF GitHub Bot logged work on HIVE-25314: ----------------------------------------- Author: ASF GitHub Bot Created on: 09/Jul/21 05:22 Start Date: 09/Jul/21 05:22 Worklog Time Spent: 10m Work Description: lcspinter commented on a change in pull request #2458: URL: https://github.com/apache/hive/pull/2458#discussion_r666678405 ########## File path: iceberg/iceberg-handler/src/main/java/org/apache/iceberg/mr/hive/HiveIcebergStorageHandler.java ########## @@ -270,6 +270,15 @@ public boolean supportsPartitionTransform() { return true; } + @Override + public Map<String, String> getPartitionTransformSpecProperty(org.apache.hadoop.hive.ql.metadata.Table hmsTable) { + Map<String, String> property = new HashMap<>(); + TableDesc tableDesc = Utilities.getTableDesc(hmsTable); + Table table = Catalogs.loadTable(conf, tableDesc.getProperties()); Review comment: The iceberg table is only loaded once, so changing the call to `IcebergTableUtil#getTable()` doesn't add much value at the moment. But I guess, we should consider that this might change in the future. -- 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: 620864) Time Spent: 1h 10m (was: 1h) > Implement SHOW CREATE TABLE command for Iceberg tables > ------------------------------------------------------ > > Key: HIVE-25314 > URL: https://issues.apache.org/jira/browse/HIVE-25314 > Project: Hive > Issue Type: Improvement > Reporter: László Pintér > Assignee: László Pintér > Priority: Major > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > Implement SHOW CREATE TABLE, including the partitioning info as well in the > output (even though the HMS table is unpartitioned). That would probably > require loading the Iceberg table to acquire the partitioning information. -- This message was sent by Atlassian Jira (v8.3.4#803005)