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

RexSimplify: and(nullBool, not(or(nullBool, vBool(1)))) fails with assertion error

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.17.0
    • Fix Version/s: 1.18.0
    • Component/s: core
    • Labels:

      Description

      and(nullBool, not(or(nullBool, vBool(1))))

      java.lang.AssertionError: result mismatch:
      when applied to {?0.bool1=true}, AND(null, NOT(OR(null, ?0.bool1))) yielded false, and AND(null, true) yielded NULL

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                julianhyde Julian Hyde
                Reporter:
                vladimirsitnikov Vladimir Sitnikov
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: