You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Aljoscha Krettek (JIRA)" <ji...@apache.org> on 2016/12/13 09:46:58 UTC
[jira] [Commented] (FLINK-5320) Fix result TypeInformation in
WindowedStream.fold(ACC, FoldFunction, WindowFunction)
[ https://issues.apache.org/jira/browse/FLINK-5320?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15744706#comment-15744706 ]
Aljoscha Krettek commented on FLINK-5320:
-----------------------------------------
It should be
{code}
TypeInformation<R> resultType = TypeExtractor.getUnaryOperatorReturnType(
function, WindowFunction.class, true, true, foldAccumulatorType, null, false);
{code}
right? Weirdly enough it's done correctly in {{AllWindowedStream}}.
[~ymarzougui] will you open a PR for a fix or should I do it? We should also have a test for this.
> 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)