Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Implemented
-
1.18.0
Description
Remove all elements that equal to element from array.
Syntax:
array_union(array)
Arguments:
array: An ARRAY to be handled.
Returns:
An ARRAY. If value is NULL, the result is NULL.
Examples:
> SELECT array_union(array(1, 2, 3), array(1, 3, 5)); [1,2,3,5]
See also
spark https://spark.apache.org/docs/latest/api/sql/index.html#array_union
presto https://prestodb.io/docs/current/functions/array.html
Attachments
Issue Links
- is a child of
-
FLINK-22484 Built-in functions for collections
- Reopened
- links to