Abhishek Chennaka has uploaded this change for review. ( http://gerrit.cloudera.org:8080/18121
Change subject: WIP: Kudu table schema in Avro format ...................................................................... WIP: Kudu table schema in Avro format This patch introduces a new flag -avro_format_schema to the existing "kudu table describe" CLI tool to output the table schema in Avro format along with a test case. Inputs needed on: 1. In this current implementation -show_attributes optional flag will do nothing when used along with -avro_format_schema. Is this a limitation we can have for optional flags? 2. The output is a single line JSON string. Do we prefer multiline JSON string? 3. The decimal type in avro has additional optional attributes namely precision and scale. Do we want to include them in the schema? Change-Id: I98194739e8132f93e916d1a78d338d28dd9e8075 --- M src/kudu/tools/kudu-admin-test.cc M src/kudu/tools/tool_action_table.cc 2 files changed, 133 insertions(+), 32 deletions(-) git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/21/18121/1 -- To view, visit http://gerrit.cloudera.org:8080/18121 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: newchange Gerrit-Change-Id: I98194739e8132f93e916d1a78d338d28dd9e8075 Gerrit-Change-Number: 18121 Gerrit-PatchSet: 1 Gerrit-Owner: Abhishek Chennaka <[email protected]>
