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

Function parse_benchmark_file

benchmarks/src/sql_benchmark.rs:1569–1573  ·  view source on GitHub ↗
(path: &Path)

Source from the content-addressed store, hash-verified

1567 }
1568
1569 async fn parse_benchmark_file(path: &Path) -> Result<SqlBenchmark> {
1570 let ctx = SessionContext::new();
1571 let path_string = path.to_string_lossy().into_owned();
1572 SqlBenchmark::new(&ctx, &path_string, "/tmp").await
1573 }
1574
1575 async fn parse_benchmark(contents: &str) -> Result<SqlBenchmark> {
1576 let temp_dir = tempdir().expect("failed to create benchmark test directory");

Calls 1

newFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…