[ https://issues.apache.org/jira/browse/HIVE-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13629994#comment-13629994 ]
Vikram Dixit K commented on HIVE-4106: -------------------------------------- [~namit] {noformat} select i_item_id ,i_item_desc ,i_current_price from item i join inventory inv on (inv.inv_item_sk = i.i_item_sk) join date_dim d on (d.d_date_sk = inv.inv_date_sk) join store_sales ss on (ss.ss_item_sk = i.i_item_sk) where i_current_price between 62 and 62+30.0 and d_date between '2000-05-25' and '2000-07-27' and i_manufact_id in (129,270,821,423) and inv_quantity_on_hand between 100 and 500 group by i_item_id,i_item_desc,i_current_price order by i_item_id limit 100; {noformat} This is the TPC-DS benchmark query (scale 1 but this does not matter) where store_sales and inventory are sorted as follows: store_sales: sorted by ss_item_sk, partitioned on ss_sold_date, clustered by ss_item_sk inventory: partitioned by (inv_date string) clustered by (inv_item_sk) sorted by (inv_item_sk) item: non-partitioned, bucketed clustered by (i_item_sk) sorted by (i_item_sk) date_dim: non-partitioned, non-bucketed. > SMB joins fail in multi-way joins > --------------------------------- > > Key: HIVE-4106 > URL: https://issues.apache.org/jira/browse/HIVE-4106 > Project: Hive > Issue Type: Bug > Components: Query Processor > Affects Versions: 0.11.0 > Reporter: Vikram Dixit K > Assignee: Vikram Dixit K > Priority: Blocker > Attachments: auto_sortmerge_join_12.q, HIVE-4106.patch > > > I see array out of bounds exception in case of multi way smb joins. This is > related to changes that went in as part of HIVE-3403. This issue has been > discussed in HIVE-3891. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira