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

ASF GitHub Bot updated HIVE-27482:
----------------------------------
    Labels: pull-request-available  (was: )

> Minor issues in array_intersect udf
> -----------------------------------
>
>                 Key: HIVE-27482
>                 URL: https://issues.apache.org/jira/browse/HIVE-27482
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Taraka Rama Rao Lethavadla
>            Assignee: Taraka Rama Rao Lethavadla
>            Priority: Minor
>              Labels: pull-request-available
>
> 1. SELECT array(1,2,3),array_intersect(array(1, 2, 3),array(1,3,4)); gives 
> wrong output
> {noformat}
> [1,3] [1,3]{noformat}
> instead of 
> {noformat}
> [1,2,3][1,3]{noformat}
> 2.  SELECT array_intersect(array(),array()); should give empty array instead 
> of NULL
> 3.  Error handling when elements of array are not comparable
> These fixes were already present on array_except udf whose implementation is 
> identical to array_intersect, Ref: [https://github.com/apache/hive/pull/4090]
>  



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

Reply via email to