flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1450) Add Fold operator to the Streaming api
Date Thu, 12 Mar 2015 17:52:40 GMT

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

ASF GitHub Bot commented on FLINK-1450:

GitHub user akshaydixi opened a pull request:


    [FLINK-1450] Added fold operator for the Streaming API

    Tried to follow the steps described in the JIRA Issue comments:
    - Created a FoldFunction and a RichFoldFunction
    - Created a StreamFoldInvokable
    - Integrated it to the DataStream for both Java and Scala
    - Implemented StreamFoldTest based on StreamReduceTest

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

    $ git pull https://github.com/akshaydixi/flink FLINK-1450

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


To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #481
commit 9848f23a0a73228fb45346d69aee68091b135d3d
Author: Akshay Dixit <akshaydixi@gmail.com>
Date:   2015-03-12T17:49:31Z

    [FLINK-1450] Added fold operator for the Streaming API


> Add Fold operator to the Streaming api
> --------------------------------------
>                 Key: FLINK-1450
>                 URL: https://issues.apache.org/jira/browse/FLINK-1450
>             Project: Flink
>          Issue Type: New Feature
>          Components: Streaming
>    Affects Versions: 0.9
>            Reporter: Gyula Fora
>            Priority: Minor
>              Labels: starter
> The streaming API currently doesn't support a fold operator.
> This operator would work as the foldLeft method in Scala. This would allow effective
implementations in a lot of cases where a the simple reduce is inappropriate due to different
return types.

This message was sent by Atlassian JIRA

View raw message