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

Method new_default

datafusion/physical-plan/src/tree_node.rs:83–91  ·  view source on GitHub ↗
(plan: Arc<dyn ExecutionPlan>)

Source from the content-addressed store, hash-verified

81
82impl<T: Default> PlanContext<T> {
83 pub fn new_default(plan: Arc<dyn ExecutionPlan>) -> Self {
84 let children = plan
85 .children()
86 .into_iter()
87 .cloned()
88 .map(Self::new_default)
89 .collect();
90 Self::new(plan, Default::default(), children)
91 }
92}
93
94impl<T: Display> Display for PlanContext<T> {

Callers

nothing calls this directly

Calls 6

newFunction · 0.85
collectMethod · 0.80
mapMethod · 0.45
clonedMethod · 0.45
into_iterMethod · 0.45
childrenMethod · 0.45

Tested by

no test coverage detected