cloud-fan commented on code in PR #51705: URL: https://github.com/apache/spark/pull/51705#discussion_r2256716394
########## sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/trees/TreeNode.scala: ########## @@ -1369,6 +1369,39 @@ trait QuaternaryLike[T <: TreeNode[T]] { self: TreeNode[T] => protected def withNewChildrenInternal(newFirst: T, newSecond: T, newThird: T, newFourth: T): T } +trait NaryLike[T <: TreeNode[T]] { self: TreeNode[T] => Review Comment: how is it different from a logical plan with a `children: Seq[LogicalPlan]` field? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org