Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19985#discussion_r157652152
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala ---
    @@ -231,6 +231,13 @@ class QueryExecution(val sparkSession: SparkSession, 
val logical: LogicalPlan) {
         """.stripMargin.trim
       }
     
    +  /**
    +   * Redact the sensitive information in the given string.
    +   */
    +  private def withRedaction(message: => String): String = {
    --- End diff --
    
    `=> String` looks not very useful here, we need to materialize anyway when 
calling `Utils.redact`


---

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

Reply via email to