Hello Gabor Kaszab, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/20646

to look at the new patch set (#3).

Change subject: IMPALA-11776: Use hive.metastore.table.owner for create iceberg 
table
......................................................................

IMPALA-11776: Use hive.metastore.table.owner for create iceberg table

IMPALA-11429 made the creation of an Iceberg table happen in 2 steps.
The first step creates the table, however, with wrong owner and the
second step is an ALTER TABLE to set the correct table owner.

Since Iceberg 1.1.0 there is now a way to provide a table owner via a
table property so we can make the create table operation to take one
step again.
https://github.com/apache/iceberg/pull/5763
https://github.com/apache/iceberg/pull/6154

This patch implements this behavior, when creating an Iceberg table
through HiveCatalog, specifying HMS_TABLE_OWNER as
hive.metastore.table.owner in properties can do it in one step.

Testing:
- Use the existing test test_iceberg.py test_table_owner.

Change-Id: I56ef7929449105af571d1fb9cb585d9b0733a39d
---
M fe/src/main/java/org/apache/impala/service/CatalogOpExecutor.java
M fe/src/main/java/org/apache/impala/service/IcebergCatalogOpExecutor.java
M tests/query_test/test_observability.py
3 files changed, 8 insertions(+), 36 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/46/20646/3
--
To view, visit http://gerrit.cloudera.org:8080/20646
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I56ef7929449105af571d1fb9cb585d9b0733a39d
Gerrit-Change-Number: 20646
Gerrit-PatchSet: 3
Gerrit-Owner: Zihao Ye <eyiz...@163.com>
Gerrit-Reviewer: Gabor Kaszab <gaborkas...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>

Reply via email to