spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djvulee <...@git.apache.org>
Subject [GitHub] spark pull request #16671: [SparkSQL] a better balance partition method for ...
Date Sun, 22 Jan 2017 05:00:33 GMT
GitHub user djvulee opened a pull request:

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

    [SparkSQL] a better balance partition method for jdbc API

    ## What changes were proposed in this pull request?
    
    The partition method in` jdbc` using the equal
    step, this can lead to skew between partitions. The new method
    introduce a balance partition method base on the elements when split the
    elements, this can relieve the skew problem with a little query cost.
    
    
    ## How was this patch tested?
    UnitTest and real data.


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

    $ git pull https://github.com/djvulee/spark balancePartition

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

    https://github.com/apache/spark/pull/16671.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 #16671
    
----
commit 88cdf294aa579f65b8272870d762548cf54349ce
Author: DjvuLee <lihu@bytedance.com>
Date:   2017-01-20T09:53:57Z

    [SparkSQL] a better balance partition method for jdbc API
    
    The partition method in jdbc when specify the column using te equal
    step, this can lead to skew between partitions. The new method
    introduce a new partition method base on the elements when split the
    elements, this can keep the elements balanced between partitions.

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org


Mime
View raw message