Skip to content
Snippets Groups Projects
Commit d8c4b00a authored by Sean Owen's avatar Sean Owen
Browse files

[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

Author: Sean Owen <sowen@cloudera.com>

Closes #10771 from srowen/SPARK-7683.
parent c00744e6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment