mirror of
https://github.com/apache/impala.git
synced 2025-12-20 10:29:58 -05:00
This patch extends the 'summary' command of impala-shell to support retrieving the summary of the original query attempt. The new syntax is SUMMARY [ALL | LATEST | ORIGINAL] If 'ALL' is specified, both the latest and original summaries are printed. If 'LATEST' is specified, only the summary of the latest query attempt is printed. If 'ORIGINAL' is specified, only the summary of the original query attempt is printed. The default option is 'LATEST'. Support for this has only been added to HS2 given that Beeswax is being deprecated soon. Tests: - Add new tests in test_shell_interactive.py Change-Id: I8605dd0eb2d3a2f64f154afb6c2fd34251c1fec2 Reviewed-on: http://gerrit.cloudera.org:8080/16502 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
6.7 KiB
6.7 KiB