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

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

GitHub user zentol opened a pull request:

    https://github.com/apache/flink/pull/3816

    [FLINK-5720] Deprecate DataStream#fold()

    This PR deprecates the various `DataStream#fold()` methods and all related 
internal classes.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zentol/flink 5720_deprecate_folding

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/flink/pull/3816.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 #3816
    
----
commit 40fd483992f7820f8e6f7b26cd7e95a6d5f71507
Author: zentol <ches...@apache.org>
Date:   2017-05-03T13:49:03Z

    [FLINK-5720] Deprecate DataStream#fold()

----


> 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
>
>
> 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.3.15#6346)

Reply via email to