GitHub user jiangxb1987 opened a pull request:
https://github.com/apache/spark/pull/19861
[SPARK-22387][SQL] Propagate session configs to data source read/write
options
## What changes were proposed in this pull request?
Introduce a new interface `ConfigSupport` for `DataSourceV2`, it can help
to propagate session configs with chosen key-prefixes to the particular data
source.
## How was this patch tested?
Add corresponding test case in `DataSourceV2Suite`
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jiangxb1987/spark datasource-configs
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19861.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 #19861
----
commit 356c55eb5d50db1ab0fe9f15285cf31d993fad8a
Author: Xingbo Jiang <[email protected]>
Date: 2017-12-01T12:17:58Z
propagate session configs to data source options.
commit b076a69b0180825d1726019ef6213d1be2324c26
Author: Xingbo Jiang <[email protected]>
Date: 2017-12-01T13:36:22Z
fix scalastyle
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]