GitHub user ymarzougui opened a pull request: https://github.com/apache/flink/pull/2995
[FLINK-5320] Fix result TypeInformation in WindowedStream.fold The resultType of the WindowFunction in WindowedStream.fold(ACC, FoldFunction, WindowFunction) can not be inferred correctly because it has the wrong argument, which can lead to an "InvalidTypesException: Input mismatch" exception. This PR corrects its. You can merge this pull request into a Git repository by running: $ git pull https://github.com/ymarzougui/flink FLINK-5320 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/2995.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2995 ---- commit 2472d718b603d7989fa87d5c8a441381e00bd60f Author: Yassine Marzougui <y.marzou...@mindlytix.com> Date: 2016-12-13T10:05:50Z [FLINK-5320] Fix result TypeInformation in WindowedStream.fold ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. ---