Skip to content

Commit 529a061

Browse files
ueshinHyukjinKwon
authored andcommitted
[SPARK-26103][SQL][FOLLOW-UP] Use string-interpolation to show the config key.
## What changes were proposed in this pull request? This is a follow-up of #23169. We should've used string-interpolation to show the config key in the warn message. ## How was this patch tested? Existing tests. Closes #24217 from ueshin/issues/SPARK-26103/s. Authored-by: Takuya UESHIN <[email protected]> Signed-off-by: Hyukjin Kwon <[email protected]>
1 parent 90b7251 commit 529a061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/util/StringUtils.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ object StringUtils extends Logging {
144144
logWarning(
145145
"Truncated the string representation of a plan since it was too long. The " +
146146
s"plan had length ${length} and the maximum is ${maxLength}. This behavior " +
147-
"can be adjusted by setting '${SQLConf.MAX_PLAN_STRING_LENGTH.key}'.")
147+
s"can be adjusted by setting '${SQLConf.MAX_PLAN_STRING_LENGTH.key}'.")
148148
val truncateMsg = if (maxLength == 0) {
149149
s"Truncated plan of $length characters"
150150
} else {

0 commit comments

Comments
 (0)