MCPcopy Create free account
hub / github.com/apache/datafusion / need_data_exchange

Function need_data_exchange

datafusion/physical-plan/src/execution_plan.rs:1219–1221  ·  view source on GitHub ↗
(plan: Arc<dyn ExecutionPlan>)

Source from the content-addressed store, hash-verified

1217/// 3. SortPreservingMergeExec for collapsing all of the sorted partitions into one with ordering guarantee
1218#[expect(clippy::needless_pass_by_value)]
1219pub fn need_data_exchange(plan: Arc<dyn ExecutionPlan>) -> bool {
1220 plan.properties().evaluation_type == EvaluationType::Eager
1221}
1222
1223/// Returns a copy of this plan if we change any child according to the pointer comparison.
1224/// The size of `children` must be equal to the size of `ExecutionPlan::children()`.

Callers

nothing calls this directly

Calls 1

propertiesMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…