You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2022/12/05 10:35:00 UTC

[jira] [Resolved] (IMPALA-11429) Newly created Iceberg tables are owned by the user of the CatalogD process

     [ https://issues.apache.org/jira/browse/IMPALA-11429?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gabor Kaszab resolved IMPALA-11429.
-----------------------------------
    Resolution: Fixed

> Newly created Iceberg tables are owned by the user of the CatalogD process
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-11429
>                 URL: https://issues.apache.org/jira/browse/IMPALA-11429
>             Project: IMPALA
>          Issue Type: Bug
>          Components: Catalog
>            Reporter: Zoltán Borók-Nagy
>            Assignee: Gabor Kaszab
>            Priority: Major
>              Labels: impala-iceberg
>
> Repro:
> {noformat}
> > impala-shell.sh -u johndoe
> impala-shell> create table ice_t (i int) stored as iceberg;
> impala-shell> describe formatted ice_t;
> ...
> | Owner:                       | impala                                     |
> ...
> {noformat}
> The owner should be the user executing the query.
> Unfortunately Iceberg doesn't allow us setting the owner of the table. It uses the system-wide property "user.name" to set the owner:
> [https://github.com/apache/iceberg/blob/51a9702367e22aff635ae05f2a313a19c3ba2fb8/hive-metastore/src/main/java/org/apache/iceberg/hive/HiveTableOperations.java#L347]
> We might need Iceberg-side modifications as well to specify the owner. Alternatively we could add an exter alter_table() RPC to change the owner.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)