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

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

    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
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: