fn remove_bottleneck_in_subplan(
requirements: PlanWithCorrespondingCoalescePartitions,
) -> Result<PlanWithCorrespondingCoalescePartitions>Expand description
Removes parallelization-reducing, avoidable CoalescePartitionsExecs from
the plan in node. After the removal of such CoalescePartitionsExecs from
the plan, some of the remaining RepartitionExecs might become unnecessary.
Removes such RepartitionExecs from the plan as well.