|
// The CoalesceBatches rule will not influence the distribution and ordering of the |
|
// whole plan tree. Therefore, to avoid influencing other rules, it should run last. |
|
Arc::new(CoalesceBatches::new()), |
|
Arc::new(CoalesceAsyncExecInput::new()), |
|
// Remove the ancillary output requirement operator since we are done with the planning |
|
// phase. |
|
Arc::new(OutputRequirements::new_remove_mode()), |
Can see here it states CoalesceBatches rule should be last but seems this isn't the case anymore; either comment is outdated and it doesn't need to be last anymore, or we should in-fact move it down to respect the comment.