[ https://issues.apache.org/jira/browse/HIVE-1784?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12969637#action_12969637 ]
Bochun Bai commented on HIVE-1784: ---------------------------------- I use pipe like this: echo "SELECT count(1) from atable group by name" | $HIVE_HOME/bin/hive It is as easier as you suggested. > Ctrl+c should kill currently running query, but not exit the CLI > ---------------------------------------------------------------- > > Key: HIVE-1784 > URL: https://issues.apache.org/jira/browse/HIVE-1784 > Project: Hive > Issue Type: Improvement > Components: CLI > Affects Versions: 0.7.0 > Reporter: Paul Yang > Priority: Minor > > When a query is running and Ctrl+C is pressed, the query is killed and the > CLI is exited. Instead, Ctrl+c should kill the query but return the user to > the Hive prompt. This will make it easier to modify and re-submit the query. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.