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] [Updated] (HIVE-5418) Integer overflow bug in ConditionalResolverCommonJoin.AliasFileSizePair
Date Wed, 02 Oct 2013 06:35:24 GMT

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

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

    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.


  was:
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.



> 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 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