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

Julian Hyde commented on CALCITE-1116:
--------------------------------------

No it won't. If {{a}} is null then {{a > 5 AND a <= 5}} evaluates to UNKNOWN.

> Extend simplify for reducing expressions
> ----------------------------------------
>
>                 Key: CALCITE-1116
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1116
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>             Fix For: 1.7.0
>
>
> We would like to cover more cases in expression simplification, such as:
> x>5 and x is not null => x>5
> x>5 and x is null => not satisfiable
> x>5 and x<=5 => not satisfiable



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to