gearpump-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (GEARPUMP-289) Add FoldFunction
Date Mon, 06 Mar 2017 13:03:33 GMT


ASF GitHub Bot commented on GEARPUMP-289:

GitHub user manuzhang opened a pull request:

    [GEARPUMP-289] Add FoldFunction

    Be sure to do all of the following to help us incorporate your contribution
    quickly and easily:
     - [ ] Make sure the commit message is formatted like:
       `[GEARPUMP-<Jira issue #>] Meaningful description of pull request` 
     - [ ] Make sure tests pass via `sbt clean test`.
     - [ ] Make sure old documentation affected by the pull request has been updated and new
documentation added for new functionality. 

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

    $ git pull fold

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 #167
commit 4cb76f555efc193aeaa84be100e4243978d0b903
Author: manuzhang <>
Date:   2017-03-06T12:56:43Z

    [GEARPUMP-289] Add FoldFunction


> Add FoldFunction
> ----------------
>                 Key: GEARPUMP-289
>                 URL:
>             Project: Apache Gearpump
>          Issue Type: Sub-task
>          Components: streaming
>    Affects Versions: 0.8.2
>            Reporter: Manu Zhang
>            Assignee: Manu Zhang
> {{FoldFunction}} is a more general case of the existing {{ReduceFunction}}. It allows
users to combine input values and put it into an accumulator (e.g. {{Collection}}). Without
it, we have to firstly map an element to a collection and reduce over all collections, which
is verbose and inefficient. 

This message was sent by Atlassian JIRA

View raw message