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

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

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

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

      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

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              vladimirsitnikov Vladimir Sitnikov

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment