JingsongLi commented on a change in pull request #8718: 
[FLINK-12824][table-planner-blink] Set parallelism for stream SQL
URL: https://github.com/apache/flink/pull/8718#discussion_r293283643
 
 

 ##########
 File path: 
flink-table/flink-table-planner-blink/src/main/java/org/apache/flink/table/plan/nodes/resource/parallelism/ShuffleStageGenerator.java
 ##########
 @@ -82,8 +84,10 @@ private void buildShuffleStages(ExecNode<?, ?> execNode) {
                                
shuffleStage.setParallelism(nodeToFinalParallelismMap.get(execNode), true);
                        }
                        nodeShuffleStageMap.put(execNode, shuffleStage);
-               } else if (execNode instanceof BatchExecExchange &&
-                               !(((BatchExecExchange) 
execNode).getDistribution().getType() == 
RelDistribution.Type.RANGE_DISTRIBUTED)) {
+               } else if ((execNode instanceof BatchExecExchange &&
 
 Review comment:
   Use `CommonPhysicalExchange` or `Exchange` too?

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

Reply via email to