liuyongvs commented on code in PR #15797:
URL: https://github.com/apache/flink/pull/15797#discussion_r1118537044
##########
docs/data/sql_functions.yml:
##########
@@ -617,6 +617,15 @@ collection:
- sql: ARRAY_DISTINCT(haystack)
table: haystack.arrayDistinct()
description: Returns an array with unique elements. If the array itself is
null, the function will return null. Keeps ordering of elements.
+ - sql: MAP_KEYS(map)
+ table: MAP.mapKeys()
+ description: Returns the keys of the map as array.
+ - sql: MAP_VALUES(map)
Review Comment:
Returns an unordered array containing the keys of the map like spark
https://spark.apache.org/docs/latest/api/sql/index.html#map_keys
i suggest add unordered array
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]