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

Method verify_plan

datafusion/core/src/execution/context/mod.rs:2305–2308  ·  view source on GitHub ↗

Return an error if the [`LogicalPlan`] has any nodes that are incompatible with this [`SQLOptions`].

(&self, plan: &LogicalPlan)

Source from the content-addressed store, hash-verified

2303 /// Return an error if the [`LogicalPlan`] has any nodes that are
2304 /// incompatible with this [`SQLOptions`].
2305 pub fn verify_plan(&self, plan: &LogicalPlan) -> Result<()> {
2306 plan.visit_with_subqueries(&mut BadPlanVisitor::new(self))?;
2307 Ok(())
2308 }
2309}
2310
2311struct BadPlanVisitor<'a> {

Callers 1

sql_with_optionsMethod · 0.80

Calls 2

newFunction · 0.85
visit_with_subqueriesMethod · 0.80

Tested by

no test coverage detected