You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/05/30 12:10:00 UTC

[jira] [Updated] (CALCITE-5734) Add ARRAY_COMPACT for Spark dialect

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

ASF GitHub Bot updated CALCITE-5734:
------------------------------------
    Labels: pull-request-available  (was: )

> Add ARRAY_COMPACT for Spark dialect
> -----------------------------------
>
>                 Key: CALCITE-5734
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5734
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 1.35.0
>            Reporter: jackylau
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.35.0
>
>
> array_compact(array) - Removes null values from the array.
> *Examples:*
>  
> {{> SELECT array_compact(array(1, 2, 3, null));}}
> {{ [1,2,3]}}
> {{> SELECT array_compact(array("a", "b", "c"));}}
> {{ ["a","b","c"]}}



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