You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/05/02 07:24:00 UTC

[jira] [Work logged] (HIVE-26190) Implement create iceberg table with metadata location

     [ https://issues.apache.org/jira/browse/HIVE-26190?focusedWorklogId=764859&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-764859 ]

ASF GitHub Bot logged work on HIVE-26190:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 02/May/22 07:23
            Start Date: 02/May/22 07:23
    Worklog Time Spent: 10m 
      Work Description: pvary commented on code in PR #3259:
URL: https://github.com/apache/hive/pull/3259#discussion_r862637833


##########
iceberg/iceberg-catalog/src/main/java/org/apache/iceberg/hive/HiveCatalog.java:
##########
@@ -100,6 +101,11 @@ public void initialize(String inputName, Map<String, String> properties) {
     this.clients = new CachedClientPool(conf, properties);
   }
 
+  @Override
+  public TableBuilder buildTable(TableIdentifier identifier, Schema schema) {
+    return new HiveCatalog.HiveCatalogTableBuilder(identifier, schema);

Review Comment:
   nit: We can use:
   ```
   return new HiveCatalogTableBuilder(identifier, schema);
   ```





Issue Time Tracking
-------------------

    Worklog Id:     (was: 764859)
    Time Spent: 20m  (was: 10m)

> Implement create iceberg table with metadata location
> -----------------------------------------------------
>
>                 Key: HIVE-26190
>                 URL: https://issues.apache.org/jira/browse/HIVE-26190
>             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
>
> We should support the following syntax
> {code:sql}
> CREATE TABLE ... TBLPROPERTIES('metadata_location='some_location'){code}
> This would allow us to create an iceberg table by reusing an already existing metadata. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)