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/25 12:40:00 UTC
[jira] [Resolved] (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 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)