You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/07/08 21:19:00 UTC

[jira] [Commented] (FLINK-5720) Deprecate "Folding" in all of DataStream API

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

ASF GitHub Bot commented on FLINK-5720:
---------------------------------------

Github user caddac commented on the issue:

    https://github.com/apache/flink/pull/3816
  
    Sorry for commenting on this closed PR, but can you point me to documentation for what will replace fold? I'm starting a new project using 1.3 and don't want to use a deprecated API, but don't find much on what I should be replacing fold with.  Thanks


> 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
>            Assignee: Chesnay Schepler
>            Priority: Blocker
>             Fix For: 1.3.0, 1.4.0
>
>
> 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
(v6.4.14#64029)