GitHub user olarayej opened a pull request:
https://github.com/apache/spark/pull/11318
[SPARK-13436][SPARKR]
## What changes were proposed in this pull request?
Added parameter drop to subsetting operator [. Refer to R's documentation
for the behavior of parameter drop.
## How was the this patch tested?
Ran all unit tests. Added drop=F to some of the tests where a DataFrame was
required as opposed to a Column.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/olarayej/spark SPARK-13436
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11318.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 #11318
----
commit e8c64156e468105a4323f59d1ece87c8fb6662f4
Author: Oscar D. Lara Yejas <[email protected]>
Date: 2016-02-16T18:14:40Z
Added parameter validations for colnames<-
commit 07e541b7e55a322ea7c74e230ee897ebe9584197
Author: Oscar D. Lara Yejas <[email protected]>
Date: 2016-02-22T18:16:21Z
Added one test for replacing . with _ in column names assignment
commit 9fa2f5f13b0e6bb9a7ad9b53fc48c6694e49565a
Author: Oscar D. Lara Yejas <[email protected]>
Date: 2016-02-23T02:54:50Z
Added drop parameter to subsetting operator. Rewrote [ as one single method
commit 632a81fe89b0f461b8084f6f2048046eb17c04b0
Author: Oscar D. Lara Yejas <[email protected]>
Date: 2016-02-23T02:58:29Z
Merge branch 'master' of https://github.com/apache/spark into SPARK-13436
----
---
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]