drill-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deneche A. Hakim (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (DRILL-1588) IndexOutOfBoundException for a query with left outer joins
Date Tue, 03 Feb 2015 23:37:34 GMT

     [ https://issues.apache.org/jira/browse/DRILL-1588?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Deneche A. Hakim resolved DRILL-1588.
-------------------------------------
    Resolution: Duplicate

I am marking this as duplicate because fixing DRILL-2151 fixes this as well

> 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 - Relational Operators
>    Affects Versions: 0.6.0
>            Reporter: Aman Sinha
>            Assignee: Deneche A. Hakim
>             Fix For: 0.8.0
>
>
> 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)

Mime
View raw message