GitHub user srowen opened a pull request:
https://github.com/apache/spark/pull/10771
[SPARK-7683] [PYSPARK] Confusing behavior of fold function of RDD in pyspark
Fix order of arguments that Pyspark RDD.fold passes to its op - should be
(acc, obj) like other implementations.
Obviously, this is a potentially breaking change, so can only happen for 2.x
CC @davies
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/srowen/spark SPARK-7683
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/10771.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 #10771
----
commit 5fe0d4386c1f473b7012142759e50df73746024f
Author: Sean Owen <[email protected]>
Date: 2016-01-15T12:51:02Z
Fix order of arguments that Pyspark RDD.fold passes to its op - should be
(acc, obj) like other implementations
----
---
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.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]