You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (JIRA)" <ji...@apache.org> on 2018/09/17 20:51:00 UTC

[jira] [Issue Comment Deleted] (CALCITE-2506) RexSimplify: coalesce(unaryPlus(nullInt), unaryPlus(vInt())) results in AssertionError: result mismatch

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

Haisheng Yuan updated CALCITE-2506:
-----------------------------------
    Comment: was deleted

(was: [~vladimirsitnikov] Sorry, I didn't get it. Can you elaborate?)

> RexSimplify: coalesce(unaryPlus(nullInt), unaryPlus(vInt())) results in AssertionError: result mismatch
> -------------------------------------------------------------------------------------------------------
>
>                 Key: CALCITE-2506
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2506
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.17.0
>            Reporter: Vladimir Sitnikov
>            Assignee: Julian Hyde
>            Priority: Major
>              Labels: newbie
>
> {{coalesce(unaryPlus(nullInt), unaryPlus(vInt()))}} results in
> {noformat}java.lang.AssertionError: result mismatch: when applied to {?0.int0=-1}, COALESCE(+(null), +(?0.int0)) yielded -1, and +(null) yielded NULL
> 	at org.apache.calcite.rex.RexSimplify.verify(RexSimplify.java:1162)
> 	at org.apache.calcite.rex.RexSimplify.simplify(RexSimplify.java:175){noformat}



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