snuyanzin commented on code in PR #22312:
URL: https://github.com/apache/flink/pull/22312#discussion_r1200534874
##########
flink-python/pyflink/table/expression.py:
##########
@@ -1519,10 +1519,19 @@ def map_values(self) -> 'Expression':
"""
Returns the values of the map as an array. No order guaranteed.
- .. seealso:: :py:attr:`~Expression.map_keys`
+ .. seealso:: :py:attr:`~Expression.map_values`
"""
return _unary_op("mapValues")(self)
+ @property
+ def map_entries(self) -> 'Expression':
+ """
+ Returns an unordered array of all entries in the given map. No order
guaranteed.
Review Comment:
same about `unordered`
##########
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/BaseExpressions.java:
##########
@@ -1396,6 +1397,11 @@ public OutType mapValues() {
return toApiSpecificExpression(unresolvedCall(MAP_VALUES, toExpr()));
}
+ /** Returns an unordered array of all entries in the given map. */
Review Comment:
same about `unordered`
--
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]