Andrew Wong has uploaded this change for review. ( http://gerrit.cloudera.org:8080/13314
Change subject: hms: don't overwrite table type when updating metadata ...................................................................... hms: don't overwrite table type when updating metadata During the inception of Kudu's HMS integration, it was assumed that managed/external tables would no longer be supported. This is no longer the assumption, and this patch attempts to fix part of the previous assumption. Specifically, when updating, downgrading, or fixing an HMS Kudu table entry, we would previously bulldoze the table type and make the table external. This may be construed as surprising behavior for users, who may depend on the managed/external distinction. This patch updates the HMS tooling to maintain existing table type. Change-Id: If1b658ccb1186e4a238567b08dfbc00b0f2244f6 --- M src/kudu/hms/hms_catalog.cc M src/kudu/hms/hms_catalog.h M src/kudu/tools/kudu-tool-test.cc M src/kudu/tools/tool_action_hms.cc 4 files changed, 158 insertions(+), 41 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/14/13314/1 -- To view, visit http://gerrit.cloudera.org:8080/13314 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: If1b658ccb1186e4a238567b08dfbc00b0f2244f6 Gerrit-Change-Number: 13314 Gerrit-PatchSet: 1 Gerrit-Owner: Andrew Wong <[email protected]>
