Steven Wong created HIVE-5418: --------------------------------- Summary: 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
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)