Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-7198

Issuing a control-C in Sqlline exits the session (it does cancel the query)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.15.0, 1.16.0
    • 1.17.0
    • None
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              volodymyr Vova Vysotskyi
              amansinha100 Aman Sinha
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: