[ https://issues.apache.org/jira/browse/FLINK-4366?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15417111#comment-15417111 ]
ASF GitHub Bot commented on FLINK-4366: --------------------------------------- Github user StephanEwen commented on the issue: https://github.com/apache/flink/pull/2354 I agree with Aljoscha, there may be more operators that need to constrain the parallelism. So a more generic solution would be good. > Enforce parallelism=1 For AllWindowedStream > ------------------------------------------- > > Key: FLINK-4366 > URL: https://issues.apache.org/jira/browse/FLINK-4366 > Project: Flink > Issue Type: Improvement > Reporter: Aljoscha Krettek > Assignee: Jark Wu > > Right now, it is possible to use {{DataStream.windowAll/timeWindowAll}} and > then set a different parallelism afterwards. Flink will silently accept this > and spawn the number of parallel operators, only one instance of those will > do all the processing, though, since the elements are implicitly keyed by a > dummy key. > We should throw an exception if users try to set a parallelism on an > all-windowed stream. -- This message was sent by Atlassian JIRA (v6.3.4#6332)