GitHub user aray opened a pull request: https://github.com/apache/spark/pull/18800
[SPARK-21330][SQL] Bad partitioning does not allow to read a JDBC table with extreme values on the partition column ## What changes were proposed in this pull request? An overflow of the difference of bounds on the partitioning column leads to no data being read. This patch checks for this overflow. ## How was this patch tested? New unit test. You can merge this pull request into a Git repository by running: $ git pull https://github.com/aray/spark SPARK-21330 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/18800.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 #18800 ---- commit 7de8ccc05158f5b60af96c8cf22a2b9e20675817 Author: Andrew Ray <ray.and...@gmail.com> Date: 2017-08-01T19:12:00Z the fix ---- --- 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 infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org