GitHub user wangyum opened a pull request:
https://github.com/apache/spark/pull/23170
[SPARK-24423][FOLLOW-UP][SQL] Fix error example
## What changes were proposed in this pull request?
![image](https://user-images.githubusercontent.com/5399861/49172173-42ad9800-f37b-11e8-8135-7adc323357ae.png)
It will throw:
```
requirement failed: When reading JDBC data sources, users need to specify
all or none for the following options: 'partitionColumn', 'lowerBound',
'upperBound', and 'numPartitions'
```
and
```
User-defined partition column subq.c1 not found in the JDBC relation ...
```
This PR fix this error example.
## How was this patch tested?
manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangyum/spark SPARK-24499
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/23170.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 #23170
commit e2d8229614ed232d1089c304cbc4bdb88292d213
Author: Yuming Wang
Date: 2018-11-28T17:59:23Z
Fix error example
---
-
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org