I would like to know if the foreachPartitions will results in a better
performance,  due to an higher level of parallelism, compared to the foreach
method considering the case in which I'm flowing through an RDD in order to
perform some sums into an accumulator variable.

Thank you,
Beniamino.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/foreach-vs-foreachPartitions-tp22983.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@spark.apache.org
For additional commands, e-mail: user-h...@spark.apache.org

Reply via email to