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

Julian Hyde edited comment on CALCITE-2469 at 8/30/18 4:00 AM:
---------------------------------------------------------------

Fixed in 
[90f49be6|http://git-wip-us.apache.org/repos/asf/calcite/commit/90f49be6]. 
Thanks for the PR, [~pzw2018]!

As mentioned, I also improved simplify of "f\(x) IS NULL" for other strong 
functions "f".


was (Author: julianhyde):
Fixed in 
[90f49be6|http://git-wip-us.apache.org/repos/asf/calcite/commit/90f49be6]. 
Thanks for the PR, [~pzw2018]!

As mentioned, I also improved simplify of "f(x) IS NULL" for other strong 
functions.

> RexSimplify should optimize '(NOT x) IS NULL' to 'x IS NULL'
> ------------------------------------------------------------
>
>                 Key: CALCITE-2469
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2469
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.17.0
>            Reporter: pengzhiwei
>            Assignee: Julian Hyde
>            Priority: Critical
>
> The RexSimplify currently optimizes '(not x) is null' to 'x is not null'. 
> However, this is incorrect. It is same to the case '(not x) is not null'. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to