ifndef-SleePy commented on a change in pull request #8982: 
[FLINK-13098][datastream] Add a new type UNDEFINED of shuffle mode
URL: https://github.com/apache/flink/pull/8982#discussion_r300692201
 
 

 ##########
 File path: 
flink-streaming-java/src/test/java/org/apache/flink/streaming/api/graph/StreamingJobGraphGeneratorTest.java
 ##########
 @@ -385,24 +386,38 @@ public void testInputOutputFormat() {
        @Test
        public void testShuffleMode() {
                StreamExecutionEnvironment env = 
StreamExecutionEnvironment.getExecutionEnvironment();
-               // fromElements -> Map -> Print, will not chain since the batch 
data exchange mode
-               DataStream<Integer> mapDataStream = env.fromElements(1, 2, 3)
-                       .map((MapFunction<Integer, Integer>) value -> 
value).setParallelism(2);
+               // fromElements -> Filter -> Map -> Print
 
 Review comment:
   Good point!

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