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

Method new_default

datafusion/physical-expr-common/src/tree_node.rs:72–80  ·  view source on GitHub ↗
(plan: Arc<dyn PhysicalExpr>)

Source from the content-addressed store, hash-verified

70
71impl<T: Default> ExprContext<T> {
72 pub fn new_default(plan: Arc<dyn PhysicalExpr>) -> Self {
73 let children = plan
74 .children()
75 .into_iter()
76 .cloned()
77 .map(Self::new_default)
78 .collect();
79 Self::new(plan, Default::default(), children)
80 }
81}
82
83impl<T: Display> Display for ExprContext<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