Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-2469

RexSimplify should optimize '(NOT x) IS NULL' to 'x IS NULL'

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.18.0
    • Component/s: core
    • Labels:
      None

      Description

      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'. 

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              pzw2018 pengzhiwei

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment