Mahesh Reddy has uploaded this change for review. ( http://gerrit.cloudera.org:8080/16596
Change subject: [partitioning] KUDU-2671: Support for range specific HashSchemas. ...................................................................... [partitioning] KUDU-2671: Support for range specific HashSchemas. This patch updates Partition::CreatePartitions() to support the ability to add different hash schemas per each range. If no hash schema per range is specified, the table wide hash schema is used. Currently, this only works if no split_rows are specified. Open to discussion on whether or not we should support this feature with split_rows. Currently, RangeHashSchema within partition.h maps each range's vector of hash schemas to an integer. Ideally, it would be mapped to the range's upper and lower bounds but if we support split_rows the bounds would not be finalized until within CreatePartitions(). Inspiration from Vlad: https://gerrit.cloudera.org/c/15758/ Change-Id: I8725f4bd072a81b05b36dfc7df0c074c172b4ce8 --- M src/kudu/common/partition-test.cc M src/kudu/common/partition.cc M src/kudu/common/partition.h M src/kudu/common/partition_pruner-test.cc M src/kudu/integration-tests/ts_tablet_manager-itest.cc M src/kudu/master/catalog_manager.cc M src/kudu/master/sys_catalog.cc M src/kudu/tablet/tablet-harness.h M src/kudu/tserver/tablet_server-test.cc 9 files changed, 258 insertions(+), 41 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/96/16596/1 -- To view, visit http://gerrit.cloudera.org:8080/16596 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I8725f4bd072a81b05b36dfc7df0c074c172b4ce8 Gerrit-Change-Number: 16596 Gerrit-PatchSet: 1 Gerrit-Owner: Mahesh Reddy <[email protected]>
