You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Aleksei Statkevich (JIRA)" <ji...@apache.org> on 2015/11/13 08:17:10 UTC
[jira] [Updated] (HIVE-12405) Comparison bug in
HiveSplitGenerator.InputSplitComparator#compare()
[ https://issues.apache.org/jira/browse/HIVE-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksei Statkevich updated HIVE-12405:
--------------------------------------
Attachment: HIVE-12405.patch
Fix the bug, add a unit test.
> Comparison bug in HiveSplitGenerator.InputSplitComparator#compare()
> -------------------------------------------------------------------
>
> Key: HIVE-12405
> URL: https://issues.apache.org/jira/browse/HIVE-12405
> Project: Hive
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Aleksei Statkevich
> Assignee: Aleksei Statkevich
> Attachments: HIVE-12405.patch
>
>
> "compare()" method in HiveSplitGenerator.InputSplitComparator has the following condition on line 281 which is always false and is most likely a typo:
> {code}
> if (startPos1 > startPos1) {
> {code}
> As a result, in certain conditions splits might be sorted in incorrect order.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)