File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/trees Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -621,7 +621,7 @@ class TreeNodeSuite extends SparkFunSuite with SQLHelper {
621621 }
622622 }
623623
624- test(" tags will be carried over after copy" ) {
624+ test(" tags will be carried over after copy & transform " ) {
625625 withClue(" makeCopy" ) {
626626 val node = Dummy (None )
627627 node.tags += TreeNodeTagName (" test" ) -> " a"
@@ -646,7 +646,7 @@ class TreeNodeSuite extends SparkFunSuite with SQLHelper {
646646 // The parent keeps the tag, but the child loses the tag because it's transformed to a
647647 // different type of node.
648648 assert(transformed2.tags(TreeNodeTagName (" test" )) == " parent" )
649- assert(! transformed2.children.head.tags.contains(TreeNodeTagName (" test" )))
649+ assert(transformed2.children.head.tags.contains(TreeNodeTagName (" test" )))
650650 }
651651
652652 withClue(" transformDown" ) {
You can’t perform that action at this time.
0 commit comments