You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by "Aman Sinha (JIRA)" <ji...@apache.org> on 2014/10/28 00:09:34 UTC
[jira] [Created] (DRILL-1588) IndexOutOfBoundException for a query
with left outer joins
Aman Sinha created DRILL-1588:
---------------------------------
Summary: IndexOutOfBoundException for a query with left outer joins
Key: DRILL-1588
URL: https://issues.apache.org/jira/browse/DRILL-1588
Project: Apache Drill
Issue Type: Bug
Components: Execution - Operators
Affects Versions: 0.6.0
Reporter: Aman Sinha
Use TPCH SF1.
{code:sql}
// set slice target to 1 to ensure exchanges are used
0: jdbc:drill:zk=local> alter session set `planner.slice_target` = 1;
+------------+------------+
| ok | summary |
+------------+------------+
| true | planner.slice_target updated. |
+------------+------------+
1 row selected (0.1 seconds)
0: jdbc:drill:zk=local> select * from lineitem l left outer join orders o on (l.l_orderkey = o.o_orderkey) left outer join customer c on (l.l_orderkey = c.c_custkey) left outer join nation n on (l.l_partkey = n.n_nationkey) left outer join region r on (l.l_suppkey = r.r_regionkey) limit 10;
{code}
java.lang.IndexOutOfBoundsException: writerIndex: 8196 (expected: readerIndex(0) <= writerIndex <= capacity(8192))
io.netty.buffer.AbstractByteBuf.writerIndex(AbstractByteBuf.java:88) ~[netty-buffer-4.0.20.Final.jar:4.0.20.Final]
org.apache.drill.exec.vector.VectorTrimmer.trim(VectorTrimmer.java:27) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.vector.UInt4Vector$Mutator.setValueCount(UInt4Vector.java:424) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.vector.VarBinaryVector$Mutator.setValueCount(VarBinaryVector.java:587) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.vector.NullableVarBinaryVector$Mutator.setValueCount(NullableVarBinaryVector.java:546) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.physical.impl.join.HashJoinBatch.innerNext(HashJoinBatch.java:238) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.record.AbstractRecordBatch.next(AbstractRecordBatch.java:106) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.physical.impl.BaseRootExec.next(BaseRootExec.java:67) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
org.apache.drill.exec.physical.impl.partitionsender.PartitionSenderRootExec.innerNext(PartitionSenderRootExec.java:141) ~[drill-java-exec-0.7.0-incubating-SNAPSHOT-rebuffed.jar:0.7.0-incubating-SNAPSHOT]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)