flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephan Ewen (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-5720) Deprecate "Folding" in all of DataStream API
Date Mon, 06 Feb 2017 13:47:41 GMT

    [ https://issues.apache.org/jira/browse/FLINK-5720?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15854009#comment-15854009

Stephan Ewen commented on FLINK-5720:


I think fold causes a lot of problems internally and blocks many optimizations for size of
state and performance.

The {{AggregateFunction}} should be able to subsume all the {{fold()}} use cases.

> Deprecate "Folding" in all of DataStream API
> --------------------------------------------
>                 Key: FLINK-5720
>                 URL: https://issues.apache.org/jira/browse/FLINK-5720
>             Project: Flink
>          Issue Type: Improvement
>          Components: DataStream API
>            Reporter: Aljoscha Krettek
> Folding is an operation that cannot be done incrementally in a distributed way and that
also cannot be done on merging windows. Now that we have {{AggregatingState}} and aggregate
operations we should deprecate folding in the APIs and deprecate {{FoldingState}}.
> I suggest to remove folding completely in Flink 2.0

This message was sent by Atlassian JIRA

View raw message