GitHub user felixcheung opened a pull request:

    https://github.com/apache/spark/pull/8503

    [SPARK-9803] [SPARKR] Add subset and transform + tests

    Add subset and transform
    Also reorganize `[` & `[[` to subset instead of select
    
    Note: for transform, transform is very similar to mutate. Spark doesn't 
seem to replace existing column with the name in mutate (ie. `mutate(df, age = 
df$age + 2)` - returned DataFrame has 2 columns with the same name 'age'), so 
therefore not doing that for now in transform.
    Though it is clearly stated it should replace column with matching name 
(should I open a JIRA for mutate/transform?)


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/felixcheung/spark rsubset_transform

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/8503.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 #8503
    
----
commit 17472b9115a67fedf04237c6a4c66575ce4c39d3
Author: felixcheung <[email protected]>
Date:   2015-08-28T09:20:52Z

    Add subset and transform + tests
    Move [ & [[ to subset instead of select

----


---
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]

Reply via email to