Alexey Serbin has uploaded this change for review. (
http://gerrit.cloudera.org:8080/17825
Change subject: KUDU-2671 allow a range to have no hash schema
......................................................................
KUDU-2671 allow a range to have no hash schema
With this patch, the semantics of an empty hash schema for a range
changes. Now an empty per-range hash schema means no hash bucketing for
the range. That's better than the previous semantics because:
* The new semantics allow for having ranges with no hash bucketing
even if there is non-trivial hash bucketing at the table-wide level.
* The new semantics is less surprising.
Prior to this patch, an empty hash schema for a range meant using the
table-wide hash schema.
This patch updates several test cases to account for the change.
Change-Id: Ia43df69ecd7040e285e098fde49d84a7a00d1fbb
---
M src/kudu/client/client.cc
M src/kudu/client/flex_partitioning_client-test.cc
M src/kudu/client/table_creator-internal.cc
M src/kudu/client/table_creator-internal.h
M src/kudu/common/partition-test.cc
M src/kudu/common/partition.cc
M src/kudu/common/partition_pruner-test.cc
M src/kudu/common/partition_pruner.cc
M src/kudu/integration-tests/table_locations-itest.cc
9 files changed, 230 insertions(+), 232 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/25/17825/1
--
To view, visit http://gerrit.cloudera.org:8080/17825
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia43df69ecd7040e285e098fde49d84a7a00d1fbb
Gerrit-Change-Number: 17825
Gerrit-PatchSet: 1
Gerrit-Owner: Alexey Serbin <[email protected]>