Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
1.18.0
-
None
Description
Returns an unordered array containing the values of the map.
Syntax:
map_values(map)
Arguments:
map An Map to be handled.
Returns:
An Map. If value is NULL, the result is NULL.
Examples:
> SELECT map_values(map(1, 'a', 2, 'b')); - ["a","b"]
See also
spark https://spark.apache.org/docs/latest/api/sql/index.html#map_values
Attachments
Issue Links
- is a child of
-
FLINK-22484 Built-in functions for collections
- Reopened