Alexey Serbin has uploaded this change for review. ( http://gerrit.cloudera.org:8080/23960
Change subject: KUDU-3723 fix interpretation of new range partition specs ...................................................................... KUDU-3723 fix interpretation of new range partition specs In the context of KUDU-2671, a new notation for specifying hash schema of a range partition has been added. With the introduction of range-specific hash schemas, the client side is free to send in information on the newly added range partition as if it had a custom hash schema, even if the new range's hash schema is the same as the table-wide one. However, the system catalog should have normalized the provided information, and stored the information on ranges with the table-wide and custom hash schemas differently. The normalization part was missing, and that was the reason for the reported issue. This changelist addresses the problem and adds a new test scenario that triggers an assertion without the fix. Change-Id: Icceb138a919cd7afb572c6dd74695a3fcaaac99e Reviewed-on: http://gerrit.cloudera.org:8080/23778 Tested-by: Alexey Serbin <[email protected]> Reviewed-by: Alexey Serbin <[email protected]> (cherry picked from commit cad295f98a9eb2b390eb096d34e445fb27b8cca2) --- M src/kudu/integration-tests/alter_table-test.cc M src/kudu/master/catalog_manager.cc 2 files changed, 163 insertions(+), 18 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/60/23960/1 -- To view, visit http://gerrit.cloudera.org:8080/23960 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: branch-1.18.x Gerrit-MessageType: newchange Gerrit-Change-Id: Icceb138a919cd7afb572c6dd74695a3fcaaac99e Gerrit-Change-Number: 23960 Gerrit-PatchSet: 1 Gerrit-Owner: Alexey Serbin <[email protected]>
