You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Sergey Nuyanzin (Jira)" <ji...@apache.org> on 2023/06/15 22:40:00 UTC

[jira] [Closed] (FLINK-32337) SQL array_union could return wrong result

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

Sergey Nuyanzin closed FLINK-32337.
-----------------------------------

> SQL array_union could return wrong result
> -----------------------------------------
>
>                 Key: FLINK-32337
>                 URL: https://issues.apache.org/jira/browse/FLINK-32337
>             Project: Flink
>          Issue Type: Bug
>          Components: Table SQL / API
>    Affects Versions: 1.18.0
>            Reporter: Sergey Nuyanzin
>            Assignee: Sergey Nuyanzin
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.18.0
>
>
> This is was mentioned at [https://github.com/apache/flink/pull/22717#issuecomment-1587333488]
>  how to reproduce
> {code:sql}
> SELECT array_union(ARRAY[CAST(NULL AS INT)], ARRAY[1]); -- returns [NULL, 1], this is OK
> SELECT array_union(ARRAY[1], ARRAY[CAST(NULL AS INT)]); -- returns [1, 0], this is NOT OK
> {code}



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