[
https://issues.apache.org/jira/browse/FLINK-31199?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17692645#comment-17692645
]
jackylau commented on FLINK-31199:
----------------------------------
[~Sergey Nuyanzin] I just see it
> Add MAP_KEYS supported in SQL & Table API
> -----------------------------------------
>
> Key: FLINK-31199
> URL: https://issues.apache.org/jira/browse/FLINK-31199
> Project: Flink
> Issue Type: Sub-task
> Components: Table SQL / Planner
> Affects Versions: 1.18.0
> Reporter: jackylau
> Priority: Major
> Labels: pull-request-available
>
> 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)