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

Jihoon Son commented on TAJO-885:
---------------------------------

[~prafulla], [~hyunsik]

I tried the above query on my local machine using 2.4.0 hadoop, but couldn't 
reproduce the error.
Would you share your environments or configurations, please?

Thanks,
Jihoon

> Selecting few columns from table with GROUP BY/LIMIT query crashes
> ------------------------------------------------------------------
>
>                 Key: TAJO-885
>                 URL: https://issues.apache.org/jira/browse/TAJO-885
>             Project: Tajo
>          Issue Type: Bug
>            Reporter: Prafulla T
>            Assignee: Hyunsik Choi
>
> Prepare query as described in TAJO-443
> Run following query to reproduce problem
> {noformat}
> default> select id from table1 group by id;
> Progress: 50%, response time: 0.392 sec
> ERROR: 1
> java.lang.ArrayIndexOutOfBoundsException: 1
>       at org.apache.tajo.util.BitArray.fromByteBuffer(BitArray.java:84)
>       at org.apache.tajo.storage.RawFile$RawFileScanner.next(RawFile.java:243)
>       at 
> org.apache.tajo.engine.planner.physical.SeqScanExec.next(SeqScanExec.java:252)
>       at 
> org.apache.tajo.engine.planner.physical.HashAggregateExec.compute(HashAggregateExec.java:51)
>       at 
> org.apache.tajo.engine.planner.physical.HashAggregateExec.next(HashAggregateExec.java:87)
>       at 
> org.apache.tajo.engine.planner.physical.StoreTableExec.next(StoreTableExec.java:77)
>       at org.apache.tajo.worker.Task.run(Task.java:388)
>       at org.apache.tajo.worker.TaskRunner$1.run(TaskRunner.java:406)
>       at java.lang.Thread.run(Thread.java:724)
> {noformat}
> Following query works fine.
> {noformat}
> default> select id from table1;
> Progress: 100%, response time: 0.096 sec
> id
> -------------------------------
> 2
> 2
> 2
> 2
> ..
> ..
> {noformat}



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

Reply via email to