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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 1.17.0
    • 1.18.0
    • core
    • 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

              julianhyde Julian Hyde
              pzw2018 pengzhiwei
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: