[
https://issues.apache.org/jira/browse/HIVE-27523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17751802#comment-17751802
]
Sai Hemanth Gantasala commented on HIVE-27523:
----------------------------------------------
[~tarak271] - Thanks for the contribution. The patch is merged into the master
branch.
> Implement array_union UDF in Hive
> ---------------------------------
>
> Key: HIVE-27523
> URL: https://issues.apache.org/jira/browse/HIVE-27523
> Project: Hive
> Issue Type: Sub-task
> Reporter: Taraka Rama Rao Lethavadla
> Assignee: Taraka Rama Rao Lethavadla
> Priority: Major
> Labels: pull-request-available
> Fix For: 4.0.0
>
>
> *array_union(array1, array2)*
> Returns an array of the elements in the union of {{array1}} and {{array2}}
> without duplicates.
>
> {noformat}
> SELECT array_union(array(1, 2, 2, 3), array(1, 3, 5));
> [1,2,3,5]
> {noformat}
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)