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 2018/08/14 11:03:58 UTC
[GitHub] fhueske commented on a change in pull request #6003:
[FLINK-9289][Dataset] Parallelism of generated operators should have max
parallelism of input
fhueske commented on a change in pull request #6003: [FLINK-9289][Dataset] Parallelism of generated operators should have max parallelism of input
URL: https://github.com/apache/flink/pull/6003#discussion_r209909097
##########
File path: flink-java/src/main/java/org/apache/flink/api/java/operators/UnionOperator.java
##########
@@ -62,4 +62,10 @@ public UnionOperator(DataSet<T> input1, DataSet<T> input2, String unionLocationN
protected Union<T> translateToDataFlow(Operator<T> input1, Operator<T> input2) {
return new Union<T>(input1, input2, unionLocationName);
}
+
+ @Override
+ public UnionOperator<T> setParallelism(int parallelism) {
+ // The parallelism of an UnionOperator should not be set.
Review comment:
Change the comment to: "Union is not translated to an independent operator but executed by multiplexing its input on the following operator. Hence, the parallelism of a Union cannot be set."
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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