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

Function parse_benchmark

benchmarks/src/sql_benchmark.rs:1575–1580  ·  view source on GitHub ↗
(contents: &str)

Source from the content-addressed store, hash-verified

1573 }
1574
1575 async fn parse_benchmark(contents: &str) -> Result<SqlBenchmark> {
1576 let temp_dir = tempdir().expect("failed to create benchmark test directory");
1577 let path = write_test_file(&temp_dir, "parser.benchmark", contents);
1578
1579 parse_benchmark_file(&path).await
1580 }
1581
1582 async fn assert_parse_error(contents: &str, expected_message: &str) {
1583 let error = parse_benchmark(contents)

Calls 2

write_test_fileFunction · 0.85
parse_benchmark_fileFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…