hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Laljo John Pullokkaran (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-7312) CBO throws ArrayIndexOutOfBounds
Date Thu, 03 Jul 2014 01:15:26 GMT

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

Laljo John Pullokkaran updated HIVE-7312:
-----------------------------------------

    Attachment: HIVE-7312.patch

> CBO throws ArrayIndexOutOfBounds
> --------------------------------
>
>                 Key: HIVE-7312
>                 URL: https://issues.apache.org/jira/browse/HIVE-7312
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Gunther Hagleitner
>            Assignee: Laljo John Pullokkaran
>         Attachments: HIVE-7312.patch
>
>
> Running tpcds query 17. Still confirming if col stats are available.
> When I turn CBO on (this is just the relevant snipped, the actual exception is pages
long):
> Caused by: java.lang.IndexOutOfBoundsException: Index: 24, Size: 0
> 	at java.util.ArrayList.rangeCheck(ArrayList.java:635)
> 	at java.util.ArrayList.get(ArrayList.java:411)
> 	at org.apache.hadoop.hive.ql.optimizer.optiq.RelOptHiveTable.getColStat(RelOptHiveTable.java:97)
> 	at org.apache.hadoop.hive.ql.optimizer.optiq.reloperators.HiveTableScanRel.getColStat(HiveTableScanRel.java:73)
> 	at org.apache.hadoop.hive.ql.optimizer.optiq.stats.HiveRelMdDistinctRowCount.getDistinctRowCount(HiveRelMdDistinctRowCount.java:47)
> 	at org.apache.hadoop.hive.ql.optimizer.optiq.stats.HiveRelMdDistinctRowCount.getDistinctRowCount(HiveRelMdDistinctRowCount.java:36)
> 	... 272 more



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

Mime
View raw message