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

2019-11-05 Thread Steve Carlin (Jira)


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

Steve Carlin commented on HIVE-22455:
-

Yeah, that's what makes this one weird.  [~jcamachorodriguez] noticed it didn't 
kick in after the Calcite upgrade in the union_assertion_type.q.out file.

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


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

2019-11-04 Thread Julian Hyde (Jira)


[ 
https://issues.apache.org/jira/browse/HIVE-22455?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)