You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "pengzhiwei (JIRA)" <ji...@apache.org> on 2018/08/16 16:05:00 UTC
[jira] [Comment Edited] (CALCITE-2469) RexSimplify should not
optimize 'not(x) is null' to 'x is not null
[ https://issues.apache.org/jira/browse/CALCITE-2469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16582745#comment-16582745 ]
pengzhiwei edited comment on CALCITE-2469 at 8/16/18 4:04 PM:
--------------------------------------------------------------
I agree with you [~vladimirsitnikov] that 'not(x) is null' should optimize to 'x is null'.I will add a
simlifyIsNull() method in RexSimplify later just like thesimplifyIsNotNull().
.
was (Author: pzw2018):
I agree with you [~vladimirsitnikov] that 'not(x) is null' should optimize to 'x is null'.I will add a
simlifyIsNull() method in RexSimplify later just like thesimplifyIsNotNull().
.
> RexSimplify should not optimize 'not(x) is null' to 'x is not 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 will optimize the '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)