[ 
https://issues.apache.org/jira/browse/CALCITE-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

anjali shrishrimal updated CALCITE-3842:
----------------------------------------
    Summary: RexSimplify doesn't simplify range predicates, as it looks at the 
operands in a particular order.  (was: Simplification of OR condition is based 
on order of operands.)

> RexSimplify doesn't simplify range predicates, as it looks at the operands in 
> a particular order.
> -------------------------------------------------------------------------------------------------
>
>                 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