[
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.1.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, HIVE-5418.1.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 is triggered only if 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)