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

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


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

Reply via email to