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

RexSimplify: coalesce(null > null, true) produces wrong result in unknownAsFalse mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.17.0
    • 1.18.0
    • core

    Description

      checkSimplify2(coalesce(gt(nullInt, nullInt), trueLiteral), "true", "true");

      java.lang.AssertionError: result mismatch:
      when applied to {}, COALESCE(>(null, null), true) yielded true, and false yielded false
      

      Attachments

        Issue Links

          Activity

            People

              julianhyde Julian Hyde
              vladimirsitnikov Vladimir Sitnikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: