Taraka Rama Rao Lethavadla created HIVE-28148:
-------------------------------------------------

             Summary: 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


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

Reply via email to