GitHub user falaki opened a pull request:
https://github.com/apache/spark/pull/7764
[SPARK-9324][SPARK-9322][SPARK-9321][SPARKR] Some aliases for R-like
functions in DataFrames
Adds following aliases:
* unique (distinct)
* rbind (unionAll): accepts many DataFrames
* nrow (count)
* ncol
* dim
* names (columns): along with the replacement function to change names
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/falaki/spark sparkR-alias
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7764.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 #7764
----
commit b5aa988a4884376aa35a2ad03324f6507121c1ef
Author: Hossein <[email protected]>
Date: 2015-07-30T00:50:58Z
Added dim, ncol, nrow, names, rbind, and unique functions to DataFrames
commit d9307f86ff53cdacf5f2c2482ae4e18c44b636c1
Author: Hossein <[email protected]>
Date: 2015-07-30T01:20:19Z
Added tests
----
---
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]