You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Steven Wong (JIRA)" <ji...@apache.org> on 2013/10/02 07:43:24 UTC

[jira] [Updated] (HIVE-5418) Integer overflow bug in ConditionalResolverCommonJoin.AliasFileSizePair

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

Steven Wong updated HIVE-5418:
------------------------------

    Attachment: HIVE-5418.0.patch

> Integer overflow bug in ConditionalResolverCommonJoin.AliasFileSizePair
> -----------------------------------------------------------------------
>
>                 Key: HIVE-5418
>                 URL: https://issues.apache.org/jira/browse/HIVE-5418
>             Project: Hive
>          Issue Type: Bug
>    Affects Versions: 0.11.0
>            Reporter: Steven Wong
>            Assignee: Steven Wong
>         Attachments: HIVE-5418.0.patch
>
>
> Sometimes, auto map join conversion unexpectedly fails to choose map join over a common join, even if the auto map join conversion's size criterion is satisfied.
> This is caused by an integer overflow bug in the method {{compareTo}} of the class {{ConditionalResolverCommonJoin.AliasFileSizePair}}.
> The bug can be triggered when the big table size exceeds the small table size by at least 2**31 bytes.



--
This message was sent by Atlassian JIRA
(v6.1#6144)