azagrebin commented on a change in pull request #10135: [FLINK-14679][shuffle]
Store number of partitions in PartitionDescriptor
URL: https://github.com/apache/flink/pull/10135#discussion_r345242312
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/deployment/ResultPartitionDeploymentDescriptor.java
##########
@@ -72,6 +72,10 @@ public ResultPartitionType getPartitionType() {
return partitionDescriptor.getPartitionType();
}
+ public int getNumberOfPartitions() {
Review comment:
just trying to leave a hint that this info goes beyond this partition (could
be renamed in `PartitionDescriptor` field/getter).
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services