GitHub user weiqingy opened a pull request:

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

    [SPARK-18629][SQL] Fix numPartition of JDBCSuite Testcase

    ## What changes were proposed in this pull request?
    Fix numPartition of JDBCSuite Testcase. 
    
    ## How was this patch tested?
    Before:
    Run any one of the test cases in JDBCSuite, you will get the following 
warning.
    ```
    10:34:26.389 WARN 
org.apache.spark.sql.execution.datasources.jdbc.JDBCRelation: The number of 
partitions is reduced because the specified number of partitions is less than 
the difference between upper bound and lower bound. Updated number of 
partitions: 3; Input number of partitions: 4; Lower bound: 1; Upper bound: 4.
    ```
    After: Pass tests without the warning. 

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

    $ git pull https://github.com/weiqingy/spark SPARK-18629

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

    https://github.com/apache/spark/pull/16062.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 #16062
    
----
commit 30c5d6f450a8958c2133d1014533378de6966a1f
Author: Weiqing Yang <[email protected]>
Date:   2016-11-29T18:59:07Z

    [SPARK-18629][SQL] Fix numPartition of JDBCSuite Testcase

----


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