GitHub user schot opened a pull request:

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

    [SPARK-3580] Add Consistent Method To Get Number of RDD Partitions Across 
Different Languages

    I have tried to address all the comments in pull request 
https://github.com/apache/spark/pull/2447.
    
    Note that the second commit (using the new method in all internal code of 
all components) is quite intrusive and could be omitted.

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

    $ git pull https://github.com/schot/spark master

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

    https://github.com/apache/spark/pull/9767.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 #9767
    
----
commit 8626fde3de45ff0722d301982204f88a82b9dec3
Author: Jeroen Schot <[email protected]>
Date:   2015-11-17T09:45:14Z

    Add getNumPartitions method
    
    This patch adds a new method getNumPartitions to the Scala RDD API as
    proposed in [SPARK-3580]. It brings the Scala/Java API in line with the
    Python API.

commit 0960be1c7bfba2cdb2f5316ea05d6a2322f56203
Author: Jeroen Schot <[email protected]>
Date:   2015-11-17T09:54:32Z

    Use new getNumPartitions method
    
    This patch replaces all occurences in all components of
    rdd.partitions.{size,length} with the new getNumParitions method.

----


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