[
https://issues.apache.org/jira/browse/FLINK-32262?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hanyu Zheng updated FLINK-32262:
--------------------------------
Description:
map_entries
map_entries(map) - Returns an unordered array of all entries in the given map.
Examples:
{code:java}
> SELECT map_entries(map(1, 'a', 2, 'b'));
[{"key":1,"value":"a"},{"key":2,"value":"b"}] {code}
also see:
spark:https://spark.apache.org/docs/latest/api/sql/index.html#map_entries
> Add MAP_ENTRIES support in SQL & Table API
> ------------------------------------------
>
> Key: FLINK-32262
> URL: https://issues.apache.org/jira/browse/FLINK-32262
> Project: Flink
> Issue Type: Improvement
> Components: Table SQL / Planner
> Affects Versions: 1.18.0
> Reporter: Bonnie Varghese
> Assignee: Hanyu Zheng
> Priority: Major
> Fix For: 1.18.0
>
>
> map_entries
> map_entries(map) - Returns an unordered array of all entries in the given map.
> Examples:
> {code:java}
> > SELECT map_entries(map(1, 'a', 2, 'b'));
> [{"key":1,"value":"a"},{"key":2,"value":"b"}] {code}
>
> also see:
> spark:https://spark.apache.org/docs/latest/api/sql/index.html#map_entries
--
This message was sent by Atlassian Jira
(v8.20.10#820010)