You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Zoltán Borók-Nagy (Jira)" <ji...@apache.org> on 2022/07/13 17:29:00 UTC

[jira] [Updated] (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 ]

Zoltán Borók-Nagy updated IMPALA-11429:
---------------------------------------
    Labels: impala-iceberg  (was: )

> 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
>            Reporter: Zoltán Borók-Nagy
>            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)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org