[ 
https://issues.apache.org/jira/browse/CALCITE-5734?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728082#comment-17728082
 ] 

Tanner Clary commented on CALCITE-5734:
---------------------------------------

Merged via 
[0a363e4|https://github.com/apache/calcite/commit/0a363e47a26f8122f5dee24d1da7aacd78e1501d].
 Thanks for the PR, [~jackylau]

> 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)

Reply via email to