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

Jesus Camacho Rodriguez commented on HIVE-14590:
------------------------------------------------

Could you give me a bit of context on this (why it should be disabled if there 
is a limit below the union)? Shouldn't we actually check the value of that 
limit to know whether it is greater or less?

> 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)

Reply via email to