You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Vladimir Sitnikov (JIRA)" <ji...@apache.org> on 2018/09/21 21:31:00 UTC

[jira] [Created] (CALCITE-2586) RexSimplify: case with repeated branches results in assertion error

Vladimir Sitnikov created CALCITE-2586:
------------------------------------------

             Summary: RexSimplify: case with repeated branches results in assertion error
                 Key: CALCITE-2586
                 URL: https://issues.apache.org/jira/browse/CALCITE-2586
             Project: Calcite
          Issue Type: Bug
          Components: core
    Affects Versions: 1.17.0
            Reporter: Vladimir Sitnikov
            Assignee: Julian Hyde


{code:java}        case_(
            eq(falseLiteral, falseLiteral), falseLiteral,
            eq(falseLiteral, falseLiteral), isNotNull(trueLiteral),
            isNull(trueLiteral)
        );
{code}
{noformat}
java.lang.AssertionError: result mismatch: when applied to {},
CASE(=(false, false), false, =(false, false), IS NOT NULL(true), IS NULL(true)) yielded false,

and =(false, false) yielded true{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)