()
| 503 | }; |
| 504 | |
| 505 | fn get_imdb_data_path() -> Result<String> { |
| 506 | let path = |
| 507 | std::env::var("IMDB_DATA").unwrap_or_else(|_| "benchmarks/data".to_string()); |
| 508 | if !Path::new(&path).exists() { |
| 509 | return exec_err!( |
| 510 | "Benchmark data not found (set IMDB_DATA env var to override): {}", |
| 511 | path |
| 512 | ); |
| 513 | } |
| 514 | Ok(path) |
| 515 | } |
| 516 | |
| 517 | async fn round_trip_logical_plan(query: usize) -> Result<()> { |
| 518 | let ctx = SessionContext::default(); |
no test coverage detected
searching dependent graphs…