You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Sungwoo Park (Jira)" <ji...@apache.org> on 2023/01/03 15:51:00 UTC

[jira] [Commented] (HIVE-26157) Change Iceberg storage handler authz URI to metadata location

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

Sungwoo Park commented on HIVE-26157:
-------------------------------------

Calling IcebergTableUtil.getTable() in the new code throws the same NullPointerException as reported in HIVE-25964, e.g., when creating Iceberg tables from existing ORC tables using CTAS with hive.security.authorization.enabled set to true. Is this patch an improvement that can be reverted at the cost of efficiency?

 

> 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
>          Components: Iceberg integration
>            Reporter: László Pintér
>            Assignee: László Pintér
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.0.0-alpha-2
>
>          Time Spent: 4h 20m
>  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.10#820010)