[
https://issues.apache.org/jira/browse/FLINK-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744767#comment-15744767
]
ASF GitHub Bot commented on FLINK-5320:
---------------------------------------
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 <[email protected]>
Date: 2016-12-13T10:05:50Z
[FLINK-5320] Fix result TypeInformation in WindowedStream.fold
----
> Fix result TypeInformation in WindowedStream.fold(ACC, FoldFunction,
> WindowFunction)
> ------------------------------------------------------------------------------------
>
> Key: FLINK-5320
> URL: https://issues.apache.org/jira/browse/FLINK-5320
> Project: Flink
> Issue Type: Bug
> Components: Streaming
> Affects Versions: 1.2.0
> Reporter: Yassine Marzougui
> Assignee: Yassine Marzougui
> Priority: Blocker
>
> The WindowedStream.fold(ACC, FoldFunction, WindowFunction) does not correctly
> infer the resultType.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)