Aman Sinha created DRILL-7198:
---------------------------------

             Summary: Issuing a control-C in Sqlline exits the session (it does 
cancel the query)
                 Key: DRILL-7198
                 URL: https://issues.apache.org/jira/browse/DRILL-7198
             Project: Apache Drill
          Issue Type: Bug
    Affects Versions: 1.15.0, 1.16.0
            Reporter: Aman Sinha


This behavior is observed both in Drill 1.15.0 and the RC1 of 1.16.0.   Run a 
long-running query in sqlline and cancel it using control-c.  It exits the 
sqlline session although it does cancel the query.  Behavior is seen in both 
embedded mode and distributed mode.  If the query is submitted through sqlline  
and cancelled from the Web UI, it does behave correctly..the session does not 
get killed and subsequent queries can be submitted in the same sqlline session. 

Same query in Drill 1.14.0 works correctly and returns the column headers while 
canceling the query. 

Since the query can be cancelled just fine through the Web UI,  I am not 
considering this a blocker for 1.16.   Very likely the sqlline upgrade in 
1.15.0 changed the behavior.  




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to