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

Simplify comparisons against boolean literals

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.19.0
    • None

    Description

      Testcase for RexProgramTest

        @Test public void testEqTrue() {
          checkSimplify3(eq(vBool(1), trueLiteral),
              "?0.bool1",
              "?0.bool1",
              "?0.bool1");
        }
      

      Attachments

        Issue Links

          Activity

            People

              kgyrtkirk Zoltan Haindrich
              kgyrtkirk Zoltan Haindrich
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m