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

Julian Hyde commented on CALCITE-3842:
--------------------------------------

The summary isn't very helpful. The "bug" is that RexSimplify doesn't simplify 
range predicates. The (possible) cause is that RexSimplify looks at the 
operands in a particular order.

Please improve the summary.

> Simplification of OR condition is based on order of operands.
> -------------------------------------------------------------
>
>                 Key: CALCITE-3842
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3842
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: anjali shrishrimal
>            Priority: Major
>
> RexSimplify simplifies :
> {noformat}
> (a <= 10) OR (a <= 1)  -->   a <= 10{noformat}
> but does not simplify 
> {noformat}
> (a <= 1) OR (a <= 10) {noformat}
>  



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

Reply via email to