jackylau created FLINK-31200:
--------------------------------
Summary: Add MAP_VALUES supported in SQL & Table API
Key: FLINK-31200
URL: https://issues.apache.org/jira/browse/FLINK-31200
Project: Flink
Issue Type: Sub-task
Components: Table SQL / Planner
Affects Versions: 1.18.0
Reporter: jackylau
Fix For: 1.18.0
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:
{code:sql}
> SELECT map_values(map(1, 'a', 2, 'b'));
- ["a","b"]{code}
See also
spark https://spark.apache.org/docs/latest/api/sql/index.html#map_values
--
This message was sent by Atlassian Jira
(v8.20.10#820010)