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

sqlline throws an exception when query is cancelled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • 1.0.0
    • 1.2.0
    • Client - CLI
    • None

    Description

      I cancelled query and got a sqlline exception. Was able to reproduce it only twice. Don't have a reliable reproduction.

      0: jdbc:drill:schema=dfs> select * from web_sales ws, web_returns wr where ws.ws_customer_sk = wr.wr_customer_sk limit 1;
      java.lang.RuntimeException: java.sql.SQLException: Unexpected RuntimeException: java.util.ConcurrentModificationException
              at sqlline.IncrementalRows.hasNext(IncrementalRows.java:73)
              at sqlline.TableOutputFormat$ResizingRowsProvider.next(TableOutputFormat.java:92)
              at sqlline.TableOutputFormat.print(TableOutputFormat.java:127)
              at sqlline.SqlLine.print(SqlLine.java:1583)
              at sqlline.Commands.execute(Commands.java:852)
              at sqlline.Commands.sql(Commands.java:751)
              at sqlline.SqlLine.dispatch(SqlLine.java:738)
              at sqlline.SqlLine.begin(SqlLine.java:612)
              at sqlline.SqlLine.start(SqlLine.java:366)
              at sqlline.SqlLine.main(SqlLine.java:259)
      

      Attachments

        Activity

          People

            parthc Parth Chandra
            vicky Victoria Markman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: