You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Taraka Rama Rao Lethavadla (Jira)" <ji...@apache.org> on 2023/03/02 13:50:00 UTC

[jira] [Assigned] (HIVE-27118) implement array_intersect UDF in Hive

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

Taraka Rama Rao Lethavadla reassigned HIVE-27118:
-------------------------------------------------


> implement array_intersect UDF in Hive
> -------------------------------------
>
>                 Key: HIVE-27118
>                 URL: https://issues.apache.org/jira/browse/HIVE-27118
>             Project: Hive
>          Issue Type: Sub-task
>          Components: Hive
>            Reporter: Taraka Rama Rao Lethavadla
>            Assignee: Taraka Rama Rao Lethavadla
>            Priority: Minor
>
> *array_intersect(array1, array2)*
> {{Returns an array of the elements in the intersection of {{array1}} and {{{}array2{}}}, without duplicates.}}
>  
> {noformat}
> > SELECT array_intersect(array(1, 2, 2, 3), array(1, 1, 3, 5));
> [1,3]
> {noformat}
>  



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