[ 
https://issues.apache.org/jira/browse/DRILL-417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13932788#comment-13932788
 ] 

Steven Phillips commented on DRILL-417:
---------------------------------------

Created reviewboard https://reviews.apache.org/r/19168/


> Nullable Var Length vector offsetVector not populated correctly
> ---------------------------------------------------------------
>
>                 Key: DRILL-417
>                 URL: https://issues.apache.org/jira/browse/DRILL-417
>             Project: Apache Drill
>          Issue Type: Bug
>            Reporter: Steven Phillips
>            Assignee: Steven Phillips
>         Attachments: DRILL-417.patch
>
>
> For example, it is common to see stack traces like this when doing basic 
> queries:  
> java.lang.IllegalArgumentException: length: -4 (expected: >= 0)
>       io.netty.buffer.AbstractByteBuf.checkIndex(AbstractByteBuf.java:1127) 
> ~[netty-buffer-4.0.7.Final.jar:na]
>       
> io.netty.buffer.PooledUnsafeDirectByteBufL.getBytes(PooledUnsafeDirectByteBufL.java:116)
>  ~[drill-buffers-1.0.0-m2-incubating-SNAPSHOT.jar:na]
>       
> org.apache.drill.exec.memory.AccountingByteBuf.getBytes(AccountingByteBuf.java:314)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.vector.VarCharVector.copyFrom(VarCharVector.java:176) 
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.vector.NullableVarCharVector.copyFrom(NullableVarCharVector.java:211)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.test.generated.CopierGen1.doEval(CopierTemplate2.java:75)
>  ~[na:na]
>       
> org.apache.drill.exec.test.generated.CopierGen1.copyRecords(CopierTemplate2.java:57)
>  ~[na:na]
>       
> org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.doWork(RemovingRecordBatch.java:91)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.record.AbstractSingleRecordBatch.next(AbstractSingleRecordBatch.java:62)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.next(ScreenCreator.java:80)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> org.apache.drill.exec.work.fragment.FragmentExecutor.run(FragmentExecutor.java:83)
>  
> ~[drill-java-exec-1.0.0-m2-incubating-SNAPSHOT-rebuffed.jar:1.0.0-m2-incubating-SNAPSHOT]
>       
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>  [na:1.7.0_21]
>       
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  [na:1.7.0_21]
>       java.lang.Thread.run(Thread.java:722) [na:1.7.0_21]



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to