zhuzhurk commented on code in PR #25552:
URL: https://github.com/apache/flink/pull/25552#discussion_r1907043930
##########
flink-runtime/src/main/java/org/apache/flink/runtime/scheduler/adaptivebatch/util/AggregatedBlockingInputInfo.java:
##########
@@ -125,6 +118,9 @@ private static long[] computeAggregatedSubpartitionBytes(
private static Map<Integer, long[]>
computeSubpartitionBytesByPartitionIndex(
List<BlockingInputInfo> inputInfos, int subpartitionNum) {
+ if (!hasSameNumPartitions(inputInfos)) {
+ return Collections.emptyMap();
Review Comment:
Maybe add comment like 'return an empty result to disable data splitting'?
--
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]