Zoltan Haindrich created HIVE-19180:
---------------------------------------

             Summary: 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


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
(v7.6.3#76005)

Reply via email to