You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Erik Shilts (JIRA)" <ji...@apache.org> on 2015/08/26 15:05:45 UTC
[jira] [Created] (SPARK-10291) Add statsByKey method to compute
StatCounters for each key in an RDD
Erik Shilts created SPARK-10291:
-----------------------------------
Summary: 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