Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18728
Change subject: KUDU-2671 check for duplicate columns in hash schema when adding range ...................................................................... KUDU-2671 check for duplicate columns in hash schema when adding range This patch adds validation for the range-specific hash schema when adding a new range partition. Without this patch, invalid requests to add a range partitions with duplicate columns across hash dimensions of the custom hash schema would be accepted, but tablets could not be created, resulting in timed-out IsAlterTableDone() RPC. The patch also contains new test scenarios for both the C++ and the Java clients, making sure the corresponding error is reported back to the client. I verified that the new scenarios failed as expected if commenting out the newly added schema validation code. Change-Id: Iefe6a97028ae12585ac5496ac8608448ffacd95e --- M java/kudu-client/src/test/java/org/apache/kudu/client/TestAlterTable.java M src/kudu/client/flex_partitioning_client-test.cc M src/kudu/common/partition.h M src/kudu/master/catalog_manager.cc 4 files changed, 169 insertions(+), 10 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/28/18728/1 -- To view, visit http://gerrit.cloudera.org:8080/18728 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: Iefe6a97028ae12585ac5496ac8608448ffacd95e Gerrit-Change-Number: 18728 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
