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

Zoltan Haindrich resolved CALCITE-2839.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.19.0

the patch handles comparisions against true/false values
fixed in 
[82f9bd5b1eeb25c027b00a0cd3fbb4b46dcb860a|https://github.com/apache/calcite/commit/82f9bd5b1eeb25c027b00a0cd3fbb4b46dcb860a].

> 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: Zoltan Haindrich
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.19.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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