GitHub user onursatici opened a pull request:
https://github.com/apache/spark/pull/19761
[SPARK-22479][SQL][BRANCH-2.2] Exclude credentials from
SaveintoDataSourceCommand.simpleString
## What changes were proposed in this pull request?
Do not include jdbc properties which may contain credentials in logging a
logical plan with `SaveIntoDataSourceCommand` in it.
## How was this patch tested?
new tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/onursatici/spark os/redact-jdbc-creds-2.2
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/19761.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 #19761
----
commit fd36d2f54939a27406f4077a04a6f7dad328f840
Author: osatici <[email protected]>
Date: 2017-11-09T14:06:05Z
do not log properties on SaveintoDataSourceCommand.simpleString
----
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]