hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksei Statkevich (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-12405) Comparison bug in HiveSplitGenerator.InputSplitComparator#compare()
Date Fri, 13 Nov 2015 07:12:10 GMT
Aleksei Statkevich created HIVE-12405:
-----------------------------------------

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


"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