Gabor Kaszab has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18837


Change subject: IMPALA-11429: Set table owner after creating an Iceberg table
......................................................................

IMPALA-11429: Set table owner after creating an Iceberg table

Iceberg tables are created using Apache Iceberg's API. However,
currently Iceberg gets the owner of the process running Iceberg for the
owner of the newly created tables. In our case it's the user running
catalogd and not the user running the CREATE TABLE statement.

Until the Iceberg API is enhanced to accept an owner parameter for
table creation, as a workaround this patch adds an extra alter table
step right after Iceberg table creation.

Testing:
  - Manually creating Iceberg tables and checking the owner.
  - Added one automated test to create Iceberg tables with different
    users and checking the output of DESCRIBE FORMATTED to verify the
    owner.

Change-Id: I5cac198a4a53be3599cb582864ee5f8c269202c0
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
1 file changed, 16 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/37/18837/1
--
To view, visit http://gerrit.cloudera.org:8080/18837
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I5cac198a4a53be3599cb582864ee5f8c269202c0
Gerrit-Change-Number: 18837
Gerrit-PatchSet: 1
Gerrit-Owner: Gabor Kaszab <gaborkas...@cloudera.com>

Reply via email to