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

Function plan_sql

datafusion/core/src/physical_planner.rs:3394–3397  ·  view source on GitHub ↗
(query: &str)

Source from the content-addressed store, hash-verified

3392 }
3393
3394 async fn plan_sql(query: &str) -> Result<Arc<dyn ExecutionPlan>> {
3395 let ctx = SessionContext::new();
3396 ctx.sql(query).await?.create_physical_plan().await
3397 }
3398
3399 async fn collect_sql(query: &str) -> Result<Vec<RecordBatch>> {
3400 let ctx = SessionContext::new();

Calls 3

newFunction · 0.85
sqlMethod · 0.80
create_physical_planMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…