Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Rename HMS_TABLE_OWNER to follow naming convention #6154

Merged
merged 1 commit into from Nov 9, 2022

Conversation

gaborkaszab
Copy link
Collaborator

I introduced this property in #5763, however, I learned since that its value doesn't follow the naming conventions for a table property. Fortunately the change hasn't been released yet so we can safely change this property before we release 1.1.0. and won't hurt backward compatibility.

@szehon-ho szehon-ho merged commit 6104d0e into apache:master Nov 9, 2022
@szehon-ho
Copy link
Collaborator

Makes sense based on discussion: #6045 (comment) . Thanks @gaborkaszab and @nastra for review

Fokko pushed a commit to Fokko/iceberg that referenced this pull request Nov 11, 2022
asfgit pushed a commit to apache/impala that referenced this pull request Nov 16, 2023
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.
apache/iceberg#5763
apache/iceberg#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-jenkins@cloudera.com>
Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants