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

RexSimplify: >=(true, null) could be simplified to null

    XMLWordPrintableJSON

Details

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

    Description

      @Test public void simplifyComparisonWithNull() {
        checkSimplify2(ge(trueLiteral, falseLiteral), "true", "true");
        checkSimplify2(ge(trueLiteral, nullBool), "null", "false");
        checkSimplify2(ge(nullBool, nullBool), "null", "false");
      }
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: