[
https://issues.apache.org/jira/browse/HIVE-12405?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15004365#comment-15004365
]
Aleksei Statkevich commented on HIVE-12405:
-------------------------------------------
I already checked. In branch-1 splits are not sorted, so there's no comparator
and no such bug as a result.
> 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)