[
https://issues.apache.org/jira/browse/HIVE-12644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15064983#comment-15064983
]
Jesus Camacho Rodriguez commented on HIVE-12644:
------------------------------------------------
[~jpullokkaran], new patch simplifies the logic in the _onMatch_ method in
{{HiveSortMergeRule}}. Further, I checked back {{HiveSortJoinReduceRule}} and
indeed offset needed to be considered in the _matches_ method. Could you check
the patch back? Thanks
> Support for offset in HiveSortMergeRule
> ---------------------------------------
>
> Key: HIVE-12644
> URL: https://issues.apache.org/jira/browse/HIVE-12644
> Project: Hive
> Issue Type: Bug
> Components: CBO
> Affects Versions: 2.1.0
> Reporter: Jesus Camacho Rodriguez
> Assignee: Jesus Camacho Rodriguez
> Attachments: HIVE-12644.01.patch, HIVE-12644.patch
>
>
> After HIVE-11531 goes in, HiveSortMergeRule needs to be extended to support
> offset properly when it merges operators that contain Limit. Otherwise, limit
> pushdown through outer join optimization (introduced in HIVE-11684) will not
> work properly.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)