Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
Description
array_distinct(array(obj1, obj2,...)) - The function returns an array of the same type as the input argument where all duplicate values have been removed.
Example:
> SELECT array_distinct(array('b', 'd', 'd', 'a')) FROM src LIMIT 1;
['a', 'b', 'c']
Attachments
Issue Links
- depends upon
-
HIVE-26744 Add array_max and array_min UDFs
- Closed
- links to