You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "anjali shrishrimal (Jira)" <ji...@apache.org> on 2020/03/09 06:56:00 UTC

[jira] [Updated] (CALCITE-3842) RexSimplify doesn't simplify range predicates, as it looks at the operands in a particular order.

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