We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 30a6e0d commit 1ccbfa8Copy full SHA for 1ccbfa8
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala
@@ -85,7 +85,7 @@ abstract class TreeNode[BaseType <: TreeNode[BaseType]] {
85
* @param f the function to be applied to each node in the tree.
86
*/
87
def foreachUp(f: BaseType => Unit): Unit = {
88
- children.foreach(_.foreach(f))
+ children.foreach(_.foreachUp(f))
89
f(this)
90
}
91
0 commit comments