Skip to content

Commit 75c1479

Browse files
committed
address comments.
1 parent d50d594 commit 75c1479

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

sql/core/src/main/scala/org/apache/spark/sql/execution/QueryExecution.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ class QueryExecution(val sparkSession: SparkSession, val logical: LogicalPlan) {
234234
/**
235235
* Redact the sensitive information in the given string.
236236
*/
237-
private def withRedaction(message: => String): String = {
237+
private def withRedaction(message: String): String = {
238238
Utils.redact(sparkSession.sessionState.conf.stringRedationPattern, message)
239239
}
240240

sql/core/src/test/scala/org/apache/spark/sql/execution/DataSourceScanExecRedactionSuite.scala

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,6 @@ class DataSourceScanExecRedactionSuite extends QueryTest with SharedSQLContext {
8080
assert(!isIncluded(df.queryExecution, "FileScan"))
8181
assert(isIncluded(df.queryExecution, "file:/"))
8282
}
83-
84-
// Respect SparkConf and replace file:/
85-
assert(isIncluded(df.queryExecution, replacement))
86-
87-
assert(isIncluded(df.queryExecution, "FileScan"))
88-
assert(!isIncluded(df.queryExecution, "file:/"))
8983
}
9084
}
9185

0 commit comments

Comments
 (0)