-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Description
datafusion/datafusion/physical-optimizer/src/optimizer.rs
Lines 123 to 129 in e323357
| // 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.
Metadata
Metadata
Assignees
Labels
No labels