honeyhexin has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13833


Change subject: KUDU-2881 Support create/drop range partition by command line
......................................................................

KUDU-2881 Support create/drop range partition by command line

Sometimes we need to drop the range partition and then recreate it in
order to rewrite in case that the partition was written wrongly. This
change supports to drop/create range partition by command line.  The
usage is:
1. kudu table create_range_partition <master_addresses> <table_name>
<lower_bound> <upper_bound> [-lower_bound_type] [-upper_bound_type]
2. kudu table drop_range_partition <master_addresses> <table_name>
<lower_bound> <upper_bound> [-lower_bound_type] [-upper_bound_type]

The parameters of lower_bound_type and upper_bound_type is optional. If
these two parameters are not specified, the default value are
INCLUSIVE_BOUND and EXCLUSIVE_BOUND respectively.

Change-Id: I647d9c3cf01807bd8ae9f8cf4091568ea6f1161c
---
M src/kudu/common/partition.cc
M src/kudu/common/partition.h
M src/kudu/integration-tests/ts_itest-base.cc
M src/kudu/integration-tests/ts_itest-base.h
M src/kudu/tools/kudu-admin-test.cc
M src/kudu/tools/tool_action_table.cc
6 files changed, 412 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/33/13833/1
--
To view, visit http://gerrit.cloudera.org:8080/13833
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I647d9c3cf01807bd8ae9f8cf4091568ea6f1161c
Gerrit-Change-Number: 13833
Gerrit-PatchSet: 1
Gerrit-Owner: honeyhexin <honeyhe...@sohu.com>

Reply via email to