snuyanzin commented on code in PR #28970:
URL: https://github.com/apache/flink/pull/28970#discussion_r3836645671
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/BaseExpressions.java:
##########
@@ -1967,6 +1968,26 @@ public OutType mapEntries() {
return toApiSpecificExpression(unresolvedCall(MAP_ENTRIES, toExpr()));
}
+ /**
+ * Returns {@code TRUE} if the given key exists in the map, {@code FALSE}
otherwise. Returns
+ * {@code NULL} if the map is {@code NULL}.
+ *
+ * <p>A {@code NULL} key matches a {@code NULL} key in the map. The given
key is cast implicitly
Review Comment:
>If the search key is NULL, the function returns TRUE when the map contains
a NULL key
this probably sounds a little bit better
--
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]