You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Julian Hyde (Jira)" <ji...@apache.org> on 2019/11/05 01:54:00 UTC

[jira] [Commented] (HIVE-22455) Union branch removal rule does not kick in.

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