Jinfeng Ni created DRILL-1456:
---------------------------------
Summary: Query multiple parquet files with limit 0 fails with
IllegalStateException
Key: DRILL-1456
URL: https://issues.apache.org/jira/browse/DRILL-1456
Project: Apache Drill
Issue Type: Bug
Reporter: Jinfeng Ni
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
.....
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)