Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/18549 )
Change subject: IMPALA-1682: Support printing the output of a query (rows) vertically. ...................................................................... IMPALA-1682: Support printing the output of a query (rows) vertically. In vertical mode, impala-shell will print each row in the format: firstly print a line contains line number, then print this row's columns line by line, each column line started with it's name and a colon. To enable it: use shell option '-E' or '--vertical', or 'set VERTICAL= true' in interactive mode. to disable it in interactive mode: 'set VERTICAL=false'. NOTICE: it will be disabled if '-B' option or 'set WRITE_DELIMITED=true' is specified. Tests: add methods in test_shell_interactive.py and test_shell_commandline.py. Change-Id: I5cee48d5a239d6b7c0f51331275524a25130fadf Reviewed-on: http://gerrit.cloudera.org:8080/18549 Reviewed-by: Impala Public Jenkins <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M docs/topics/impala_shell_options.xml M shell/impala_shell.py M shell/impala_shell_config_defaults.py M shell/option_parser.py M shell/shell_output.py M tests/shell/test_shell_commandline.py M tests/shell/test_shell_interactive.py 7 files changed, 82 insertions(+), 13 deletions(-) Approvals: Impala Public Jenkins: Looks good to me, approved; Verified -- To view, visit http://gerrit.cloudera.org:8080/18549 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I5cee48d5a239d6b7c0f51331275524a25130fadf Gerrit-Change-Number: 18549 Gerrit-PatchSet: 12 Gerrit-Owner: Anonymous Coward <[email protected]> Gerrit-Reviewer: Anonymous Coward <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
