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

Method insert_cte

datafusion/sql/src/planner.rs:396–399  ·  view source on GitHub ↗

Inserts a LogicalPlan for the Common Table Expression (CTE) / Subquery for the specified name

(&mut self, cte_name: impl Into<String>, plan: LogicalPlan)

Source from the content-addressed store, hash-verified

394 /// Inserts a LogicalPlan for the Common Table Expression (CTE) /
395 /// Subquery for the specified name
396 pub fn insert_cte(&mut self, cte_name: impl Into<String>, plan: LogicalPlan) {
397 let cte_name = cte_name.into();
398 self.ctes.insert(cte_name, Arc::new(plan));
399 }
400
401 /// Return a plan for the Common Table Expression (CTE) / Subquery for the
402 /// specified name

Callers 2

plan_with_clauseMethod · 0.80
recursive_cteMethod · 0.80

Calls 3

newFunction · 0.85
intoMethod · 0.45
insertMethod · 0.45

Tested by

no test coverage detected