You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Caican Cai (Jira)" <ji...@apache.org> on 2024/05/03 16:16:00 UTC

[jira] [Closed] (CALCITE-6398) Spark's ifnull function has only one parameter and the return value is Boolean

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

Caican Cai closed CALCITE-6398.
-------------------------------
    Resolution: Not A Bug

> Spark's ifnull function has only one parameter and the return value is Boolean
> ------------------------------------------------------------------------------
>
>                 Key: CALCITE-6398
>                 URL: https://issues.apache.org/jira/browse/CALCITE-6398
>             Project: Calcite
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 1.36.0
>            Reporter: Caican Cai
>            Priority: Major
>             Fix For: 1.37.0
>
>
> Spark's ifnull function has only one parameter and the return value is Boolean
> [https://spark.apache.org/docs/2.3.0/api/sql/index.html#isnull]
>  
> But calcite's ifnull has two parameters and returns expr 
> {code:java}
> | b s | IFNULL(value1, value2)                       | Equivalent to `NVL(value1, value2)`{code}
>  
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)