fapaul commented on a change in pull request #18428:
URL: https://github.com/apache/flink/pull/18428#discussion_r794275274



##########
File path: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/translators/PartitionTransformationTranslator.java
##########
@@ -70,13 +73,15 @@
 
         List<Integer> resultIds = new ArrayList<>();
 
+        StreamExchangeMode exchangeMode = transformation.getExchangeMode();
+        if (!supportsBatchExchange && exchangeMode == 
StreamExchangeMode.BATCH) {
+            exchangeMode = StreamExchangeMode.UNDEFINED;

Review comment:
       Basically in streaming mode, there is no handling for `BATCH` exchange 
mode they are only relevant in batch execution mode. Therefore it is safe to 
reset the edges in streaming mode. I'll add a comment




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


Reply via email to