Github user gyfora commented on the pull request:
https://github.com/apache/flink/pull/936#issuecomment-125179431
You actually make a good point. Since one cannot apply multiple
transformations while keeping a KeyedDataStream, we can assume stateByKey true
on a keyedDataStream, otherwise it does not make sense to call keyBy before it.
I modify it.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---