You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2024/03/25 18:30:00 UTC
[jira] [Updated] (HIVE-28148) Implement array_compact UDF to remove all nulls from an array
[ https://issues.apache.org/jira/browse/HIVE-28148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HIVE-28148:
----------------------------------
Labels: pull-request-available (was: )
> Implement array_compact UDF to remove all nulls from an array
> -------------------------------------------------------------
>
> Key: HIVE-28148
> URL: https://issues.apache.org/jira/browse/HIVE-28148
> Project: Hive
> Issue Type: Sub-task
> Components: Hive
> Reporter: Taraka Rama Rao Lethavadla
> Assignee: Taraka Rama Rao Lethavadla
> Priority: Major
> Labels: pull-request-available
>
> *array_compact(array)*
> Removes NULL elements from {{{}array{}}}.
>
> {noformat}
> SELECT array_compact(array(1, 2, NULL, 3, NULL, 3));
> => [1, 2, 3, 3]
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)