Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.18.0
Description
map_entries(map) - Returns an unordered array of all entries in the given map.
Syntax:
map_entries(map)
Arguments:
map: An MAP to be handled.
Returns:
Returns an unordered array of all entries in the given map.
Returns null if the argument is null
> SELECT map_entries(map[1, 'a', 2, 'b']); [(1,"a"),(2,"b")]
See also
presto https://prestodb.io/docs/current/functions/map.html
spark https://spark.apache.org/docs/latest/api/sql/index.html#map_entries
Attachments
Issue Links
- is a child of
-
FLINK-22484 Built-in functions for collections
- Reopened
- links to