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

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

                Author: ASF GitHub Bot
            Created on: 04/May/22 13:38
            Start Date: 04/May/22 13:38
    Worklog Time Spent: 10m 
      Work Description: pvary commented on code in PR #3226:
URL: https://github.com/apache/hive/pull/3226#discussion_r864838785


##########
ql/src/java/org/apache/hadoop/hive/ql/parse/SemanticAnalyzer.java:
##########
@@ -13688,6 +13688,22 @@ ASTNode analyzeCreateTable(
       // outputs is empty, which means this create table happens in the current
       // database.
       rootTasks.add(TaskFactory.get(new DDLWork(getInputs(), getOutputs(), 
crtTblDesc)));
+      String tblLocation = null;

Review Comment:
   There is a `Translator` layer in HMS which can change some properties fo the 
table (not sure which ones), but I remember that this `Translator` was 
responsible to changing location for the external tables. Does this change able 
to handle this `Translator`?





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

    Worklog Id:     (was: 765988)
    Time Spent: 2h 40m  (was: 2.5h)

> Change Iceberg storage handler authz URI to metadata location
> -------------------------------------------------------------
>
>                 Key: HIVE-26157
>                 URL: https://issues.apache.org/jira/browse/HIVE-26157
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: László Pintér
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 2h 40m
>  Remaining Estimate: 0h
>
> In HIVE-25964, the authz URI has been changed to "iceberg://db.table".
> It is possible to set the metadata pointers of table A to point to table B, 
> and therefore you could read table B's data via querying table A.
> {code:sql}
> alter table A set tblproperties 
> ('metadata_location'='/path/to/B/snapshot.json', 
> 'previous_metadata_location'='/path/to/B/prev_snapshot.json');  {code}



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

Reply via email to