Github user zsxwing commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19985#discussion_r157624496
  
    --- Diff: 
sql/catalyst/src/main/scala/org/apache/spark/sql/internal/SQLConf.scala ---
    @@ -1035,6 +1036,14 @@ object SQLConf {
         .booleanConf
         .createWithDefault(true)
     
    +  val SQL_STRING_REDACTION_PATTERN =
    +    ConfigBuilder("spark.sql.redaction.string.regex")
    +      .doc("Regex to decide which parts of strings produced by Spark 
contain sensitive " +
    +        "information. When this regex matches a string part, that string 
part is replaced by a " +
    +        "dummy value. This is currently used to redact the output of SQL 
explain commands. " +
    +        "When this conf is not set, the value from 
`spark.sql.redaction.string.regex` is used.")
    --- End diff --
    
    nit: `spark.sql.redaction.string.regex` -> `spark.redaction.string.regex`


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to