[
https://issues.apache.org/jira/browse/HIVE-14590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15431557#comment-15431557
]
Ashutosh Chauhan commented on HIVE-14590:
-----------------------------------------
I think so too, since it doesn't make sense to have any operator executing any
logic after limit has been applied. Although I can't find any specific piece of
code which guarantees this.
> CBO (Calcite Return Path) Incorrect result set when limit is present in one
> of the union branches
> -------------------------------------------------------------------------------------------------
>
> Key: HIVE-14590
> URL: https://issues.apache.org/jira/browse/HIVE-14590
> Project: Hive
> Issue Type: Sub-task
> Components: Logical Optimizer
> Affects Versions: 2.0.0, 2.1.0
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Attachments: HIVE-14590.patch
>
>
> Limit gets propagated outside union.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)