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/05/24 10:40:00 UTC

[jira] [Resolved] (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 resolved HIVE-27118.
-----------------------------------------------
    Fix Version/s: 4.0.0
       Resolution: Fixed

> 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
>              Labels: pull-request-available
>             Fix For: 4.0.0
>
>          Time Spent: 2h 10m
>  Remaining Estimate: 0h
>
> *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)