[
https://issues.apache.org/jira/browse/HIVE-27118?focusedWorklogId=861087&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-861087
]
ASF GitHub Bot logged work on HIVE-27118:
-----------------------------------------
Author: ASF GitHub Bot
Created on: 08/May/23 22:36
Start Date: 08/May/23 22:36
Worklog Time Spent: 10m
Work Description: saihemanth-cloudera commented on code in PR #4094:
URL: https://github.com/apache/hive/pull/4094#discussion_r1187960694
##########
ql/src/test/queries/clientpositive/udf_array_intersect.q:
##########
@@ -0,0 +1,42 @@
+--! qt:dataset:src
+
+
Issue Time Tracking
-------------------
Worklog Id: (was: 861087)
Time Spent: 1h 20m (was: 1h 10m)
> 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
> Time Spent: 1h 20m
> 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)