You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Zoltán Zvara (JIRA)" <ji...@apache.org> on 2015/08/12 11:36:45 UTC
[jira] [Created] (SPARK-9875) Do not evaluate foreach and
foreachPartition with count
Zoltán Zvara created SPARK-9875:
-----------------------------------
Summary: Do not evaluate foreach and foreachPartition with count
Key: SPARK-9875
URL: https://issues.apache.org/jira/browse/SPARK-9875
Project: Spark
Issue Type: Improvement
Components: PySpark
Reporter: Zoltán Zvara
Priority: Minor
It is evident, that the summation inside count will result in an overhead, which would be nice to remove from the current execution.
{{self.mapPartitions(func).count() # Force evaluation}} @{{rdd.py}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org