GitHub user aljoscha opened a pull request: https://github.com/apache/flink/pull/1973
[FLINK-3869] Relax window fold generic parameters Before, the WindowFunction in a fold/apply could not emit a type that was different from the accumulator type of the fold. This restriction is unnecessary. You can merge this pull request into a Git repository by running: $ git pull https://github.com/aljoscha/flink window-fold-relax Alternatively you can review and apply these changes as the patch at: https://github.com/apache/flink/pull/1973.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 #1973 ---- commit 0e0d9b79b770d9708935920014314e4021e9751e Author: Aljoscha Krettek <aljoscha.kret...@gmail.com> Date: 2016-05-05T06:34:44Z [FLINK-3869] Relax window fold generic parameters Before, the WindowFunction in a fold/apply could not emit a type that was different from the accumulator type of the fold. This restriction is unnecessary. ---- --- 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. ---