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

Function logical_plan

datafusion/core/benches/sql_planner.rs:45–47  ·  view source on GitHub ↗

Create a logical plan from the specified sql

(ctx: &SessionContext, rt: &Runtime, sql: &str)

Source from the content-addressed store, hash-verified

43
44/// Create a logical plan from the specified sql
45fn logical_plan(ctx: &SessionContext, rt: &Runtime, sql: &str) {
46 black_box(rt.block_on(ctx.sql(sql)).unwrap());
47}
48
49/// Create a physical ExecutionPlan (by way of logical plan)
50fn physical_plan(ctx: &SessionContext, rt: &Runtime, sql: &str) {

Callers 1

criterion_benchmarkFunction · 0.70

Calls 1

sqlMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…