You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/07/05 13:52:32 UTC

[GitHub] [flink] ifndef-SleePy commented on a change in pull request #8982: [FLINK-13098][datastream] Add a new type UNDEFINED of shuffle mode

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:
users@infra.apache.org


With regards,
Apache Git Services