Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
None
Description
The following sqlpp query throws an ArrayIndexOutOfBoundsException
use tpcds; select a.ca_state state, count(a) cnt from customer_address a ,customer c ,store_sales s ,date_dim d ,item i where a.ca_address_sk = c.c_current_addr_sk and c.c_customer_sk = s.ss_customer_sk and s.ss_sold_date_sk = d.d_date_sk and s.ss_item_sk = i.i_item_sk group by a.ca_state group as stategrp having coll_count((select value a from stategrp)) >= 10 order by cnt limit 100;
tpcdsq6.zip contains the schema and data for the datasets used in the query