You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Thomas Weise (Jira)" <ji...@apache.org> on 2022/01/11 18:02:00 UTC

[jira] [Updated] (FLINK-21582) COALESCE not works when cast a variable return null

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

Thomas Weise updated FLINK-21582:
---------------------------------
    Fix Version/s:     (was: 1.14.3)

> COALESCE not works when cast a variable return null
> ---------------------------------------------------
>
>                 Key: FLINK-21582
>                 URL: https://issues.apache.org/jira/browse/FLINK-21582
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.11.1
>         Environment: Flink1.11.1
>  
>            Reporter: Jerry
>            Priority: Minor
>              Labels: auto-unassigned
>             Fix For: 1.15.0
>
>         Attachments: image-2021-03-03-19-48-21-306.png
>
>
> select COALESCE(cast('aa' as int), 0);return NULL 
> select COALESCE(NULL, 0); return 0 
> The first case works failed, but the second case works successful
>  



--
This message was sent by Atlassian Jira
(v8.20.1#820001)