You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@tajo.apache.org by "Prafulla T (JIRA)" <ji...@apache.org> on 2014/06/23 02:14:24 UTC
[jira] [Updated] (TAJO-885) Selecting few columns from table with
GROUP BY/LIMIT query crashes
[ https://issues.apache.org/jira/browse/TAJO-885?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Prafulla T updated TAJO-885:
----------------------------
Description:
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}
was:
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.
default> select id from table1;
Progress: 100%, response time: 0.096 sec
id
-------------------------------
2
2
2
2
> 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
>
> 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)