zhuzhurk commented on a change in pull request #18218:
URL: https://github.com/apache/flink/pull/18218#discussion_r776555072



##########
File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/IntermediateResultPartition.java
##########
@@ -69,8 +71,8 @@ public ResultPartitionType getResultType() {
         return totalResult.getResultType();
     }
 
-    public List<ConsumerVertexGroup> getConsumerVertexGroups() {
-        return 
getEdgeManager().getConsumerVertexGroupsForPartition(partitionId);
+    public ConsumerVertexGroup getConsumerVertexGroup() {
+        return 
checkNotNull(getEdgeManager().getConsumerVertexGroupForPartition(partitionId));

Review comment:
       There should be no such case that the moment. That's why I add 
`checkNotNull` here.




-- 
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]


Reply via email to