[
https://issues.apache.org/jira/browse/FLINK-4271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15405657#comment-15405657
]
ASF GitHub Bot commented on FLINK-4271:
---------------------------------------
Github user wuchong commented on the issue:
https://github.com/apache/flink/pull/2305
I think, specify parallelism between `window(...)` and `apply(...)` is not
nice. We not just need `setParallelism` function but also `name`, `uid`,
`slotSharingGroup` and many other functions in `SingleOutputStreamOperator`. If
we copy these to `WithWindow`, it will be very duplicate.
> There is no way to set parallelism of operators produced by CoGroupedStreams
> ----------------------------------------------------------------------------
>
> Key: FLINK-4271
> URL: https://issues.apache.org/jira/browse/FLINK-4271
> Project: Flink
> Issue Type: Bug
> Components: DataStream API
> Reporter: Wenlong Lyu
> Assignee: Jark Wu
>
> Currently, CoGroupStreams package the map/keyBy/window operators with a human
> friendly interface, like:
> dataStreamA.cogroup(streamB).where(...).equalsTo().window().apply(), both the
> intermediate operators and final window operators can not be accessed by
> users, and we cannot set attributes of the operators, which make co-group
> hard to use in production environment.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)