You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (JIRA)" <ji...@apache.org> on 2015/08/31 21:54:45 UTC
[jira] [Commented] (SPARK-10291) Add statsByKey method to compute
StatCounters for each key in an RDD
[ https://issues.apache.org/jira/browse/SPARK-10291?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723944#comment-14723944 ]
Apache Spark commented on SPARK-10291:
--------------------------------------
User 'eshilts' has created a pull request for this issue:
https://github.com/apache/spark/pull/8539
> Add statsByKey method to compute StatCounters for each key in an RDD
> --------------------------------------------------------------------
>
> Key: SPARK-10291
> URL: https://issues.apache.org/jira/browse/SPARK-10291
> Project: Spark
> Issue Type: New Feature
> Components: PySpark
> Reporter: Erik Shilts
> Priority: Minor
>
> A common task is to summarize numerical data for different groups. Having a `statsByKey` method would simplify this so the user would not have to write the aggregators for all the statistics or manage collecting by key and computing individual StatCounters.
> This should be a straightforward addition to PySpark. I can look into adding to Scala and R if we want to maintain feature parity.
--
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