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

Jesus Camacho Rodriguez resolved CALCITE-2620.
----------------------------------------------
       Resolution: Fixed
         Assignee: pengzhiwei  (was: Julian Hyde)
    Fix Version/s: 1.18.0

Fixed in 
[5b16e23|http://git-wip-us.apache.org/repos/asf/calcite/commit/5b16e23]. Thanks 
[~pzw2018]!

> Simplify "coalesce(null,x)" to "x"
> ----------------------------------
>
>                 Key: CALCITE-2620
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2620
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.18.0
>            Reporter: pengzhiwei
>            Assignee: pengzhiwei
>            Priority: Major
>             Fix For: 1.18.0
>
>
> "coalesce(x0,x1,.....)" can be simplified if any of "xi" is null literal.
> e.g.  "coalesce(null,x)" can simplify to "x", "coalesce(x,null,y)" can 
> simplify to "coalesce(x,y)"



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

Reply via email to