fun <ImplementingTree : AbstractMultiTree<ImplementingTree>> flatten(tree: ImplementingTree): ImplementingTree (source)
Flatten a given LogicalPlan recursively into a multi-tree.
tree - The given input LogicalPlan.
Return
A flattened LogicalPlan from the given input.