[ https://issues.apache.org/jira/browse/HIVE-26950?focusedWorklogId=840152&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-840152 ]
ASF GitHub Bot logged work on HIVE-26950: ----------------------------------------- Author: ASF GitHub Bot Created on: 19/Jan/23 05:52 Start Date: 19/Jan/23 05:52 Worklog Time Spent: 10m Work Description: ayushtkn opened a new pull request, #3965: URL: https://github.com/apache/hive/pull/3965 ### What changes were proposed in this pull request? Two changes: - Preserve the format version for the iceberg table - Add auto translation logic for iceberg CTLT tables as well(if table created without external keyword, allow that by auto translating to external with purge true) ### Why are the changes needed? Better usability of iceberg tables with CTLT ### Does this PR introduce _any_ user-facing change? Yes, format version preserved for Iceberg CTLT tables & auto translation to external with purge true like other commands for iceberg tables. ### How was this patch tested? UT Issue Time Tracking ------------------- Worklog Id: (was: 840152) Remaining Estimate: 0h Time Spent: 10m > (CTLT) Create external table like V2 table is not preserving table properties > ----------------------------------------------------------------------------- > > Key: HIVE-26950 > URL: https://issues.apache.org/jira/browse/HIVE-26950 > Project: Hive > Issue Type: Improvement > Components: Iceberg integration > Reporter: Rajesh Balamohan > Assignee: Ayush Saxena > Priority: Major > Time Spent: 10m > Remaining Estimate: 0h > > # Create an external iceberg V2 table. e.g t1 > # "create external table t2 like t1" <--- This ends up creating V1 table and > "format-version=2" is not retained and "'format'='iceberg/parquet'" is also > not retained. -- This message was sent by Atlassian Jira (v8.20.10#820010)