dongjoon-hyun commented on a change in pull request #28425:
URL: https://github.com/apache/spark/pull/28425#discussion_r453202127
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/v2/DataSourceV2ScanExecBase.scala
##########
@@ -43,7 +44,32 @@ trait DataSourceV2ScanExecBase extends LeafExecNode {
override def simpleString(maxFields: Int): String = {
val result =
s"$nodeName${truncatedString(output, "[", ", ", "]", maxFields)}
${scan.description()}"
- Utils.redact(sqlContext.sessionState.conf.stringRedactionPattern, result)
+ redact(result)
+ }
+
+ /**
+ * Redact the sensitive information in the given string.
Review comment:
Shall we use a similar description since this is a copy of
`DataSourceScanExec.redact` although the original one looks has a typo
`redactString`?
```
/**
* Shorthand for calling redact() without specifying redacting rules
*/
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]