Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
0.11.0, 0.12.0, 0.13.0
-
None
-
None
Description
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.