Details
-
Sub-task
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
1. SELECT array(1,2,3),array_intersect(array(1, 2, 3),array(1,3,4)); gives wrong output
[1,3] [1,3]
instead of
[1,2,3][1,3]
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
Attachments
Issue Links
- links to