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

Function handle_run

benchmarks/benches/sql.rs:164–177  ·  view source on GitHub ↗
(
    rt: &Runtime,
    ctx: &SessionContext,
    args: &EnvParser,
    benchmark: &mut SqlBenchmark,
    name: &str,
)

Source from the content-addressed store, hash-verified

162}
163
164fn handle_run(
165 rt: &Runtime,
166 ctx: &SessionContext,
167 args: &EnvParser,
168 benchmark: &mut SqlBenchmark,
169 name: &str,
170) {
171 rt.block_on(async {
172 benchmark
173 .run(ctx, args.validate)
174 .await
175 .unwrap_or_else(|err| panic!("Failed to run benchmark {name}: {err:?}"))
176 });
177}
178
179fn handle_persist(
180 rt: &Runtime,

Callers 1

sqlFunction · 0.85

Calls 1

runMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…