noorall commented on code in PR #25552: URL: https://github.com/apache/flink/pull/25552#discussion_r1906546993
########## 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: > In which case it can happen that `hasSameNumPartitions()` returns false? For example, upstreams with the same type number have different parallelism. -- 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: issues-unsubscr...@flink.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org