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

huntersjm commented on DRILL-4099:
----------------------------------

thank you for help, next  is the complete error message:
{code}
org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: 
IndexOutOfBoundsException: index: 131072, length: 2 (expected: range(0, 
131072)) Fragment 0:0 [Error Id: 297b1876-2214-42c3-aa39-f4209ca6e374 on 
s040060.cm6:31010] (java.lang.IndexOutOfBoundsException) index: 131072, length: 
2 (expected: range(0, 131072)) io.netty.buffer.DrillBuf.checkIndexD():189 
io.netty.buffer.DrillBuf.chk():211 io.netty.buffer.DrillBuf.setChar():531 
org.apache.drill.exec.record.selection.SelectionVector2.setIndex():82 
org.apache.drill.exec.physical.impl.limit.LimitRecordBatch.limitWithNoSV():166 
org.apache.drill.exec.physical.impl.limit.LimitRecordBatch.doWork():145 
org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext():93 
org.apache.drill.exec.physical.impl.limit.LimitRecordBatch.innerNext():115 
org.apache.drill.exec.record.AbstractRecordBatch.next():147 
org.apache.drill.exec.record.AbstractRecordBatch.next():105 
org.apache.drill.exec.record.AbstractRecordBatch.next():95 
org.apache.drill.exec.record.AbstractSingleRecordBatch.innerNext():51 
org.apache.drill.exec.physical.impl.svremover.RemovingRecordBatch.innerNext():92
 org.apache.drill.exec.record.AbstractRecordBatch.next():147 
org.apache.drill.exec.physical.impl.BaseRootExec.next():83 
org.apache.drill.exec.physical.impl.ScreenCreator$ScreenRoot.innerNext():79 
org.apache.drill.exec.physical.impl.BaseRootExec.next():73 
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():261 
org.apache.drill.exec.work.fragment.FragmentExecutor$1.run():255 
java.security.AccessController.doPrivileged():-2 
javax.security.auth.Subject.doAs():415 
org.apache.hadoop.security.UserGroupInformation.doAs():1556 
org.apache.drill.exec.work.fragment.FragmentExecutor.run():255 
org.apache.drill.common.SelfCleaningRunnable.run():38 
java.util.concurrent.ThreadPoolExecutor.runWorker():1145 
java.util.concurrent.ThreadPoolExecutor$Worker.run():615 
java.lang.Thread.run():745
{code}

> DRILL QUERY LIMIT ERROR
> -----------------------
>
>                 Key: DRILL-4099
>                 URL: https://issues.apache.org/jira/browse/DRILL-4099
>             Project: Apache Drill
>          Issue Type: Bug
>          Components: Functions - Drill
>    Affects Versions: 1.1.0
>            Reporter: huntersjm
>
> I query `select attr from table limit 65536`, then I get error : 
> org.apache.drill.common.exceptions.UserRemoteException: SYSTEM ERROR: 
> IndexOutOfBoundsException: index: 131072, length: 2 (expected: range(0, 
> 131072)) Fragment 0:0



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to