Skip to content

LeafRunnableCommand — Leaf Logical Runnable Commands

LeafRunnableCommand is an extension of the RunnableCommand abstraction for leaf logical runnable commands.

Important

It looks like LeafRunnableCommand was introduced in SPARK-34989 to improve the performance ofmapChildren and withNewChildren methods.

I don't understand why such a simplistic trait definition could help as seems very Scala-specific. Help appreciated! 🙏

trait LeafRunnableCommand extends RunnableCommand with LeafLike[LogicalPlan]

Implementations