GitHub user rakeshchalasani opened a pull request:
https://github.com/apache/spark/pull/6309
[SPARK-7778][SQL] Add standard deviation expression over data frame
The aggregate function implementation is based on online variance
calculation
http://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
The partial evaluation is a naive variance computation.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/rakeshchalasani/spark frameVariance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6309.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6309
----
commit 887950e4eb85245c006c0469e038825e8e8e3d3f
Author: rakeshchalasani <[email protected]>
Date: 2015-05-21T03:07:30Z
Add standard deviation aggregate expression
commit 97a258a481ce9aa90233aa266022c9670d670079
Author: rakeshchalasani <[email protected]>
Date: 2015-05-21T03:07:39Z
Add python support
commit 52a8ac38349c4f97111eabe1fa8627482e12ac50
Author: rakeshchalasani <[email protected]>
Date: 2015-05-21T03:09:42Z
[SPARK-7778][SQL] Add standard deviation aggregate expression over data
frame columns.
Author: Rakesh Chalasani <[email protected]>
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]