-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-22479][SQL][BRANCH-2.2] Exclude credentials from SaveintoDataSourceCommand.simpleString #19761
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
follow-up of #19708 |
|
ok to test |
|
|
||
| override def simpleString: String = { | ||
| val redacted = Utils.redact(SparkEnv.get.conf, options.toSeq).toMap | ||
| s"SaveIntoDataSourceCommand ${dataSource}, ${redacted}, ${mode}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
dataSource does not exist in 2.2
|
Test build #83922 has finished for PR 19761 at commit
|
|
Test build #83923 has finished for PR 19761 at commit
|
|
Test build #83924 has finished for PR 19761 at commit
|
|
thanks, merging to 2.2! |
…ourceCommand.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 Author: osatici <[email protected]> Closes #19761 from onursatici/os/redact-jdbc-creds-2.2.
|
@onursatici Could you please close it? |
|
ping @onursatici |
…ourceCommand.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 Author: osatici <[email protected]> Closes apache#19761 from onursatici/os/redact-jdbc-creds-2.2.
What changes were proposed in this pull request?
Do not include jdbc properties which may contain credentials in logging a logical plan with
SaveIntoDataSourceCommandin it.How was this patch tested?
new tests