Andrew Wong has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/13976 )

Change subject: [tools] Add table tools to delete column and alter column
......................................................................

[tools] Add table tools to delete column and alter column

This patch supports to delete column and alter column for
a table by command line tools.
The 'delete_column' tool can be used as:
- kudu table delete_column <master_addresses> <table_name> <column_name>
The alter column tools can be used as:
- kudu table column_set_default <master_addresses> <table_name> <column_name> 
<default_value>
  (<default_value> should be provided as a JSON array, e.g. [1] or ["foo"])
- kudu table column_remove_default <master_addresses> <table_name> <column_name>
- kudu table column_set_compression <master_addresses> <table_name> 
<column_name> <compression_type>
- kudu table column_set_encoding <master_addresses> <table_name> <column_name> 
<encoding_type>
- kudu table column_set_block_size <master_addresses> <table_name> 
<column_name> <block_size>

Change-Id: I228340e46fe48ffc782c4c7346f890444b8c550f
Reviewed-on: http://gerrit.cloudera.org:8080/13976
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <a...@cloudera.com>
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Reviewed-by: Yingchun Lai <405403...@qq.com>
---
M src/kudu/client/schema.cc
M src/kudu/client/schema.h
M src/kudu/tools/kudu-tool-test.cc
M src/kudu/tools/tool_action_table.cc
4 files changed, 534 insertions(+), 3 deletions(-)

Approvals:
  Kudu Jenkins: Verified
  Adar Dembo: Looks good to me, but someone else must approve
  Andrew Wong: Looks good to me, approved
  Yingchun Lai: Looks good to me, but someone else must approve

--
To view, visit http://gerrit.cloudera.org:8080/13976
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I228340e46fe48ffc782c4c7346f890444b8c550f
Gerrit-Change-Number: 13976
Gerrit-PatchSet: 13
Gerrit-Owner: Yifan Zhang <chinazhangyi...@163.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Tidy Bot (241)
Gerrit-Reviewer: Yifan Zhang <chinazhangyi...@163.com>
Gerrit-Reviewer: Yingchun Lai <405403...@qq.com>

Reply via email to