[ https://issues.apache.org/jira/browse/IMPALA-11776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17786972#comment-17786972 ]
ASF subversion and git services commented on IMPALA-11776: ---------------------------------------------------------- Commit 13e99384ae8e6b86f3a1aedc61dff34fd25b0a84 in impala's branch refs/heads/master from Eyizoha [ https://gitbox.apache.org/repos/asf?p=impala.git;h=13e99384a ] 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 Reviewed-on: http://gerrit.cloudera.org:8080/20646 Reviewed-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenk...@cloudera.com> > Use hive.metastore.table.owner for create table > ----------------------------------------------- > > Key: IMPALA-11776 > URL: https://issues.apache.org/jira/browse/IMPALA-11776 > Project: IMPALA > Issue Type: New Feature > Components: Frontend > Reporter: Gabor Kaszab > Assignee: Ye Zihao > Priority: Major > Labels: iceberg > > https://issues.apache.org/jira/browse/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 message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org For additional commands, e-mail: issues-all-h...@impala.apache.org