File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/trees Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -610,14 +610,14 @@ class TreeNodeSuite extends SparkFunSuite with SQLHelper {
610610 }
611611 }
612612
613- test(" treeString limit at zero" ) {
614- withSQLConf(SQLConf .MAX_PLAN_STRING_LENGTH .key -> " 0" ) {
615- val ds = (1 until 2 ).foldLeft(Literal (" TestLiteral" ): Expression ) { case (treeNode, x) =>
616- Add (Literal (x), treeNode)
617- }
618-
619- val planString = ds.treeString
620- assert(planString.startsWith(" Truncated plan of" ))
621- }
622- }
613+ test(" treeString limit at zero" ) {
614+ withSQLConf(SQLConf .MAX_PLAN_STRING_LENGTH .key -> " 0" ) {
615+ val ds = (1 until 2 ).foldLeft(Literal (" TestLiteral" ): Expression ) { case (treeNode, x) =>
616+ Add (Literal (x), treeNode)
617+ }
618+
619+ val planString = ds.treeString
620+ assert(planString.startsWith(" Truncated plan of" ))
621+ }
622+ }
623623}
You can’t perform that action at this time.
0 commit comments