jackylau created FLINK-31199:
--------------------------------

             Summary: Add MAP_KEYS supported in SQL & Table API
                 Key: FLINK-31199
                 URL: https://issues.apache.org/jira/browse/FLINK-31199
             Project: Flink
          Issue Type: Bug
          Components: Table SQL / Planner
    Affects Versions: 1.18.0
            Reporter: jackylau
             Fix For: 1.18.0


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:
{code:sql}
> SELECT map_keys(map(1, 'a', 2, 'b'));
 [1,2] {code}
See also
spark https://spark.apache.org/docs/latest/api/sql/index.html#map_keys

 
h4.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to