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

Query multiple parquet files with limit 0 fails with IllegalStateException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      The dataset is TPCH scale factor 10. Directory "lineitem" holds multiple parquet files. On on Apache/master branch:

      Commit: 9628f9bb5b8c5a9d842743bc2d127b3306be5c4b [9628f9b]

      Q1:

      select * from dfs.`/Users/jni/work/tpch-data/tpch-sf10/lineitem` limit 0;

      Query failed: Failure while running fragment. Cleanup before finished [a36fb120-213e-4e10-9e68-88d3adb60630]

      java.lang.RuntimeException: java.sql.SQLException: Failure while trying to get next result batch.

      Stack trace:

      java.lang.IllegalStateException: Cleanup before finished
      at org.apache.drill.exec.work.batch.UnlimitedRawBatchBuffer.cleanup(UnlimitedRawBatchBuffer.java:80) ~[drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT]
      at org.apache.drill.exec.physical.impl.unorderedreceiver.UnorderedReceiverBatch.cleanup(UnorderedReceiverBatch.java:199) [drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT]
      at org.apache.drill.exec.record.AbstractSingleRecordBatch.cleanup(AbstractSingleRecordBatch.java:100) [drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT]
      at org.apache.drill.exec.physical.impl.limit.LimitRecordBatch.cleanup(LimitRecordBatch.java:212) [drill-java-exec-0.6.0-incubating-SNAPSHOT-rebuffed.jar:0.6.0-incubating-SNAPSHOT]
      at
      .....

      Attachments

        Activity

          People

            Unassigned Unassigned
            jni Jinfeng Ni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: