Skip to content

Commit 86d253e

Browse files
chenghao-intelmarmbrus
authored andcommitted
[SPARK-3527] [SQL] Strip the string message
Author: Cheng Hao <hao.cheng@intel.com> Closes #2392 from chenghao-intel/trim and squashes the following commits: e52024f [Cheng Hao] trim the string message
1 parent 7b8008f commit 86d253e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sql/core/src/main/scala/org/apache/spark/sql/SQLContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ class SQLContext(@transient val sparkContext: SparkContext)
414414
def simpleString: String =
415415
s"""== Physical Plan ==
416416
|${stringOrError(executedPlan)}
417-
"""
417+
""".stripMargin.trim
418418

419419
override def toString: String =
420420
// TODO previously will output RDD details by run (${stringOrError(toRdd.toDebugString)})

0 commit comments

Comments
 (0)