You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Zoltan Haindrich (JIRA)" <ji...@apache.org> on 2019/02/15 07:32:00 UTC

[jira] [Updated] (CALCITE-2839) Simplify comparisons against boolean literals

     [ 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)