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