hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-12405) Comparison bug in HiveSplitGenerator.InputSplitComparator#compare()
Date Thu, 19 Nov 2015 22:17:11 GMT

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

Ashutosh Chauhan commented on HIVE-12405:
-----------------------------------------

Pushed to master. Thanks, Aleksei!

> Comparison bug in HiveSplitGenerator.InputSplitComparator#compare()
> -------------------------------------------------------------------
>
>                 Key: HIVE-12405
>                 URL: https://issues.apache.org/jira/browse/HIVE-12405
>             Project: Hive
>          Issue Type: Bug
>          Components: Tez
>    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)

Mime
View raw message