[ 
https://issues.apache.org/jira/browse/CALCITE-2839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zoltan Haindrich updated CALCITE-2839:
--------------------------------------
    Summary: Simplify comparisons against boolean literals  (was: Simplify x = 
true to x and x = false to not x)

> Simplify comparisons against boolean literals
> ---------------------------------------------
>
>                 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