Github user zentol commented on a diff in the pull request:
https://github.com/apache/flink/pull/3487#discussion_r104703639
--- Diff:
flink-core/src/main/java/org/apache/flink/api/common/functions/util/AbstractRuntimeUDFContext.java
---
@@ -100,7 +100,12 @@ public int getNumberOfParallelSubtasks() {
public int getIndexOfThisSubtask() {
return taskInfo.getIndexOfThisSubtask();
}
-
+
+ @Override
+ public int getMaxParallelismOfSubtasks() {
+ // Number of KeyGroups is same with max-parallelism currently.
+ return taskInfo.getNumberOfKeyGroups();
+ }
--- End diff --
misssing empty line
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---