Bharathkrishna Guruvayoor Murali commented on HIVE-19180:

[~kgyrtkirk] , I can take a look at this one having made changes related to 
script execution and --force recently.

> beeline: user interrupt should halt execution 
> ----------------------------------------------
>                 Key: HIVE-19180
>                 URL: https://issues.apache.org/jira/browse/HIVE-19180
>             Project: Hive
>          Issue Type: Bug
>          Components: Beeline
>            Reporter: Zoltan Haindrich
>            Priority: Major
> I'm running a queryfile with {{--force}} enabled.
> By interrupting the program (CTRL+C) I can only abort the execution of the 
> actual query; but the queryFile execution is continued regardless that I 
> wanted to abort.
> for example, for the following query file; I'm able to interrupt all inserts; 
> but even the select is executed...and I think the exit code should be 
> non-zero as well.
> {code}
> drop table if exists ll1;
> create table ll1( a integer);
> insert into ll1 values (1);
> insert into ll1 values (2);
> insert into ll1 values (3);
> select * from ll1;
> {code}

This message was sent by Atlassian JIRA

Reply via email to