GitHub user tillrohrmann opened a pull request:
https://github.com/apache/flink/pull/1748
[FLINK-3557] [stream, scala] Introduce secondary parameter list for fold
function
The fold API call takes an initial value as well as a fold function. In
Scala it is possible
to provide an anonymous function. In order to easily support multi line
anonymous functions
as well as being consistent with Scala's collection API, this PR adds
another parameter list
to the fold API call, which contains the fold function parameter.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tillrohrmann/flink fixFold
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/1748.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 #1748
----
commit 73e4c8b928378213b410fbfaa09688952a8eb60c
Author: Till Rohrmann <[email protected]>
Date: 2016-03-01T11:36:22Z
[FLINK-3557] [stream, scala] Introduce secondary parameter list for fold
function
The fold API call takes an initial value as well as a fold function. In
Scala it is possible
to provide an anonymous function. In order to easily support multi line
anonymous functions
as well as being consistent with Scala's collection API, this PR adds
another parameter list
to the fold API call, which contains the fold function parameter.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---