Hello Adar Dembo, Hao Hao, Todd Lipcon,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/10831
to review the following change.
Change subject: KUDU-2191: reject alter table rename to same table name
......................................................................
KUDU-2191: reject alter table rename to same table name
This commit ensures 'ALTER TABLE t RENAME TO t;' operations will fail
validation in the catalog manager when the HMS integration is enabled.
The HMS allows these types of alterations, however Kudu (without HMS
integration) does not, so this extra validation aligns the behavior
between the two configurations. Postgres also does not allow this type
of alter.
Change-Id: I37d895bcc98cbc45a27ff25e97a25436273d79b0
---
M src/kudu/integration-tests/alter_table-test.cc
M src/kudu/integration-tests/master_hms-itest.cc
M src/kudu/master/catalog_manager.cc
3 files changed, 23 insertions(+), 2 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/31/10831/1
--
To view, visit http://gerrit.cloudera.org:8080/10831
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I37d895bcc98cbc45a27ff25e97a25436273d79b0
Gerrit-Change-Number: 10831
Gerrit-PatchSet: 1
Gerrit-Owner: Dan Burkert <[email protected]>
Gerrit-Reviewer: Adar Dembo <[email protected]>
Gerrit-Reviewer: Hao Hao <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>