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 {
621
621
}
622
622
}
623
623
624
- test(" tags will be carried over after copy" ) {
624
+ test(" tags will be carried over after copy & transform " ) {
625
625
withClue(" makeCopy" ) {
626
626
val node = Dummy (None )
627
627
node.tags += TreeNodeTagName (" test" ) -> " a"
@@ -646,7 +646,7 @@ class TreeNodeSuite extends SparkFunSuite with SQLHelper {
646
646
// The parent keeps the tag, but the child loses the tag because it's transformed to a
647
647
// different type of node.
648
648
assert(transformed2.tags(TreeNodeTagName (" test" )) == " parent" )
649
- assert(! transformed2.children.head.tags.contains(TreeNodeTagName (" test" )))
649
+ assert(transformed2.children.head.tags.contains(TreeNodeTagName (" test" )))
650
650
}
651
651
652
652
withClue(" transformDown" ) {
You can’t perform that action at this time.
0 commit comments