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

Julian Hyde commented on HIVE-22455:
------------------------------------

There are a bunch of rules in Calcite's class PruneEmptyRules that recognize 
empty relational expressions and simplify accordingly.

> Union branch removal rule does not kick in.
> -------------------------------------------
>
>                 Key: HIVE-22455
>                 URL: https://issues.apache.org/jira/browse/HIVE-22455
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Steve Carlin
>            Priority: Major
>
> After the Calcite upgrade to 1.21, there is a rule where 2 branches of a 
> union have limit 0. This can be simplified.
> This can be found in: union_assertion_type.q.out



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to