GitHub user airhorns opened a pull request:

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

    Allow the setting of a Pyspark RDD's name attribute

    This allows the setting of the underlying Java RDD's name attribute from 
python land.
    
    ```
    In [2]: rdd = sc.parallelize(range(0, 10000))
    
    In [3]: rdd.name = "cool"
    
    In [4]: rdd.name
    Out[4]: u'cool'
    ```
    
    And after persisting:
    
    ![screen shot 2014-03-27 at 12 10 57 
am](https://cloud.githubusercontent.com/assets/158950/2533730/6a8235e6-b566-11e3-8be9-841bb0d341a5.png)


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

    $ git pull https://github.com/Shopify/spark pyspark_rdd_name

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

    https://github.com/apache/spark/pull/249.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 #249
    
----
commit 060d2b27a95586a80b6c2a00a22feeca95b614e1
Author: Harry Brundage <[email protected]>
Date:   2014-03-27T04:09:09Z

    Allow the setting of a Pyspark RDD's name attribute

----


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

Reply via email to