zentol commented on code in PR #23553:
URL: https://github.com/apache/flink/pull/23553#discussion_r1380524335


##########
flink-formats/flink-avro/src/test/java/org/apache/flink/table/runtime/batch/AvroTypesITCase.java:
##########
@@ -240,7 +240,7 @@ public void testAvroToAvro() {
     }
 
     private DataStream<User> testData(StreamExecutionEnvironment env) {
-        return env.fromElements(USER_1, USER_2, USER_3);
+        return env.fromElements(USER_1, USER_2, USER_3).setParallelism(1);

Review Comment:
   huh. These changes does make one wonder whether we shouldn't set the 
parallelism to 1 by default, but allow the user to override it 🤔 



##########
flink-formats/flink-avro/src/test/java/org/apache/flink/table/runtime/batch/AvroTypesITCase.java:
##########
@@ -240,7 +240,7 @@ public void testAvroToAvro() {
     }
 
     private DataStream<User> testData(StreamExecutionEnvironment env) {
-        return env.fromElements(USER_1, USER_2, USER_3);
+        return env.fromElements(USER_1, USER_2, USER_3).setParallelism(1);

Review Comment:
   huh. These changes does make one wonder whether we shouldn't set the 
parallelism to 1 by default, but allow the user to override it 🤔 



-- 
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: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to