[ 
https://issues.apache.org/jira/browse/CALCITE-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16765265#comment-16765265
 ] 

Julian Hyde commented on CALCITE-2839:
--------------------------------------

While you're there, do {{true = x}} and {{false = x}}.

> 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
>            Priority: Major
>
> 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