mirror of
https://github.com/apache/impala.git
synced 2025-12-25 02:03:09 -05:00
Modified the '_signal_handler()' in impala-shell.py so when a user cancels a multiline query by hitting CTRL+C it will cancel the query, instead of just the current line. Testing: -Added 'test_cancellation_mid_command()' to test_shell_interactive.py to test if it really cancels the partial commands. -Manually tested by giving partial commands then cancelling them. Change-Id: Id8d8bdaee929e2655eb66e886ae92a02d3fbd83f Reviewed-on: http://gerrit.cloudera.org:8080/15233 Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>