fn add_merge_on_top(input: DistributionContext) -> DistributionContextExpand description
Adds a SortPreservingMergeExec or a CoalescePartitionsExec operator
on top of the given plan node to satisfy a single partition requirement
while preserving ordering constraints.
§Parameters
input: Current node.
§Returns
Updated node with an execution plan, where the desired single distribution requirement is satisfied.