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

Himanshu Mishra updated HIVE-22201:
-----------------------------------
    Attachment: HIVE-22201.01.patch
        Status: Patch Available  (was: Open)

> ConvertJoinMapJoin#checkShuffleSizeForLargeTable throws 
> ArrayIndexOutOfBoundsException if no big table is selected
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-22201
>                 URL: https://issues.apache.org/jira/browse/HIVE-22201
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Himanshu Mishra
>            Assignee: Himanshu Mishra
>            Priority: Major
>              Labels: pull-request-available
>         Attachments: HIVE-22201.01.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> In case when {{bigTableCandidateSet}} is empty e.g. full outer join, we end 
> up calling {{checkShuffleSizeForLargeTable}} with {{bigTablePosition}} as -1, 
> resulting in {{ArrayIndexOutOfBoundsException}}.
> Also, should we return as soon as we see {{bigTableCandidateSet}} is empty ?



--
This message was sent by Atlassian Jira
(v8.3.2#803003)

Reply via email to