[ 
https://issues.apache.org/jira/browse/FLINK-8257?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16291536#comment-16291536
 ] 

Eron Wright  commented on FLINK-8257:
-------------------------------------

Related: in some cases the parallelism must be equal to that of the preceding 
operator. 
e.g. 
[DataStream::assignTimestampsAndWatermarks|https://github.com/apache/flink/blob/release-1.4.0/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/datastream/DataStream.java#L833]

> Unify the value checks for setParallelism()
> -------------------------------------------
>
>                 Key: FLINK-8257
>                 URL: https://issues.apache.org/jira/browse/FLINK-8257
>             Project: Flink
>          Issue Type: Improvement
>          Components: Configuration
>            Reporter: Xingcan Cui
>
> The {{setParallelism()}} method exist in many components from different 
> levels. Some of the methods require the input value to be greater than {{1}} 
> (e.g., {{StreamTransformation.setParallelism()}}), while some of also allow 
> the value to be {{ExecutionConfig.PARALLELISM_DEFAULT}}, which is {{-1}} by 
> default (e.g., {{DataSink.setParallelism()}}). We need to unify the value 
> checks for these methods.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to