zhuzhurk commented on code in PR #25414:
URL: https://github.com/apache/flink/pull/25414#discussion_r1870499542
##########
flink-runtime/src/main/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGenerator.java:
##########
@@ -1678,10 +1678,27 @@ public static ResultPartitionType
determineUndefinedResultPartitionType(
public static boolean isChainable(StreamEdge edge, StreamGraph
streamGraph) {
StreamNode downStreamVertex = streamGraph.getTargetVertex(edge);
- return downStreamVertex.getInEdges().size() == 1 &&
isChainableInput(edge, streamGraph);
+ return downStreamVertex.getInEdges().size() == 1
+ && isChainableInput(edge, streamGraph)
+ && checkAndSetParallelismForChainableNodes(edge, streamGraph);
Review Comment:
How about to do the update when doing `ForwardPartitioner` conversion?
--
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]