Hello Daniel Becker, Csaba Ringhofer, Impala Public Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22813 to look at the new patch set (#4). Change subject: IMPALA-13584: Add option to shows num row report in impala-shell ...................................................................... IMPALA-13584: Add option to shows num row report in impala-shell In beeswax all statements with the exception of USE print 'Fetched X row(s) in Ys', while in HS2 some statements (REFRESH, INVALIDATE) metadata does not print it. While these statements always return 0 rows, the amount of time spent with the statement can be useful. This patch modifies add impala-shell to let it print elapsed time for that query, even if query is not expected to return result metadata. Added --beeswax_compat_num_rows option in impala-shell. It default to False. If this option is set (True), 'Fetched 0 row(s) in' will be printed for all Impala protocol, just like beeswax. One exception for this is USE query, which will remain silent. Testing: - Added test_beeswax_compat in test_shell_interactive.py. - Pass test_shell_interactive.py. Change-Id: Id76ede98c514f73ff1dfa123a0d951e80e7508b4 --- M shell/impala_client.py M shell/impala_shell.py M shell/option_parser.py M tests/shell/test_shell_interactive.py 4 files changed, 44 insertions(+), 1 deletion(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/13/22813/4 -- To view, visit http://gerrit.cloudera.org:8080/22813 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: Id76ede98c514f73ff1dfa123a0d951e80e7508b4 Gerrit-Change-Number: 22813 Gerrit-PatchSet: 4 Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Csaba Ringhofer <csringho...@cloudera.com> Gerrit-Reviewer: Daniel Becker <daniel.bec...@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>