Zoltan Haindrich created CALCITE-2839:
-----------------------------------------

             Summary: Simplify x = true to x and x = false to not x
                 Key: CALCITE-2839
                 URL: https://issues.apache.org/jira/browse/CALCITE-2839
             Project: Calcite
          Issue Type: Improvement
            Reporter: Zoltan Haindrich
            Assignee: Julian Hyde


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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to