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

Vikram Dixit K commented on HIVE-4106:
--------------------------------------

Hi Namit,

The test case is not from our set of files/tables/TestCliDriver tests. I had to 
get lucky to catch this issue. The issue can be reproduced if we have a 
partitioned table with average size being in some range so that 
getBigTablePosition in the AvgPartitionSizeBasedBigTableSelectorForAutoSMJ 
returns a position not in the joinContext. This will cause the exception. In my 
setup, I got lucky to have such a partition combination. I am not sure how I 
can reproduce this issue with our current partitioned tables set in the 
TestCliDriver. I will try it with some combinations to see if it can be 
produced.

If we say this type of join has to be rejected, we will not convert this join 
to an SMB Map-join even if it is possible right? That seems extreme. Also, I do 
not see any references to setRejectedJoinOps in the code either. Please let me 
know.

Thanks
Vikram.
                
> 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
>         Attachments: 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

Reply via email to