Zoltán Borók-Nagy created IMPALA-11429:
------------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]