davidradl commented on code in PR #28970:
URL: https://github.com/apache/flink/pull/28970#discussion_r3784333121
##########
docs/data/sql_functions.yml:
##########
@@ -925,6 +925,21 @@ collection:
- sql: MAP_ENTRIES(map)
table: MAP.mapEntries()
description: Returns an array of all entries in the given map. No order
guaranteed.
+ - sql: MAP_CONTAINS_KEY(map, key)
+ table: MAP.mapContainsKey(key)
+ description: |
+ Returns TRUE if the given key exists in the map, FALSE otherwise.
Returns NULL if the map is
+ NULL. A NULL key matches a NULL key in the map. The given key is cast
implicitly to the map's
+ key type where Flink's implicit casting rules allow it; otherwise the
call fails validation.
Review Comment:
when we say fails validation - I assume we should return false as per my
other comment
--
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]