hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Wong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-5418) Integer overflow bug in ConditionalResolverCommonJoin.AliasFileSizePair
Date Thu, 03 Oct 2013 01:49:42 GMT

    [ https://issues.apache.org/jira/browse/HIVE-5418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13784740#comment-13784740
] 

Steven Wong commented on HIVE-5418:
-----------------------------------

The patch is applicable to trunk as well as branch-0.12. The test failure looks unrelated
to the 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)

Mime
View raw message