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

Chunwei Lei commented on CALCITE-3852:
--------------------------------------

IMO, Given {{x=9}}, {{x != 9}} can be simplified to {{false}} and {{x != 3}} 
can be simplified to {{true}}.

Please correct me if I am wrong.

> RexSimplify doesn't simplify NOT EQUAL predicates
> -------------------------------------------------
>
>                 Key: CALCITE-3852
>                 URL: https://issues.apache.org/jira/browse/CALCITE-3852
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Chunwei Lei
>            Assignee: Chunwei Lei
>            Priority: Major
>
> Given x=9, RexSimplify does not simplify x != 9 to false.



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

Reply via email to