Will Berkeley has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/11665


Change subject: [tools] Add a describe table tool
......................................................................

[tools] Add a describe table tool

This adds a very basic tool to describe a table, printing out its
schema, its partition schema, and the current range partitions.

Sample output:

$ kudu table describe localhost:7053 
default.loadgen_auto_f6d439ab21e4408486786289297f7db0
Schema [
        primary key (key),
        10:key[int64 NOT NULL],
        11:int_val[int32 NULLABLE],
        12:string_val[string NULLABLE]
]

HASH (key) PARTITIONS 2,
RANGE (key) (
    PARTITION UNBOUNDED
)

I also reorganized the order of `kudu table` commands so they are in
alphabetical order.

Change-Id: Ib02f2a94cf11d0e60b32cd85be920ca9b99dd977
---
M src/kudu/client/client.h
M src/kudu/tools/CMakeLists.txt
M src/kudu/tools/kudu-admin-test.cc
M src/kudu/tools/tool_action_common.cc
M src/kudu/tools/tool_action_common.h
M src/kudu/tools/tool_action_table.cc
6 files changed, 245 insertions(+), 18 deletions(-)



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

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib02f2a94cf11d0e60b32cd85be920ca9b99dd977
Gerrit-Change-Number: 11665
Gerrit-PatchSet: 1
Gerrit-Owner: Will Berkeley <[email protected]>

Reply via email to