()
| 450 | }; |
| 451 | |
| 452 | fn get_tpch_data_path() -> Result<String> { |
| 453 | let path = |
| 454 | std::env::var("TPCH_DATA").unwrap_or_else(|_| "benchmarks/data".to_string()); |
| 455 | if !Path::new(&path).exists() { |
| 456 | return exec_err!( |
| 457 | "Benchmark data not found (set TPCH_DATA env var to override): {}", |
| 458 | path |
| 459 | ); |
| 460 | } |
| 461 | Ok(path) |
| 462 | } |
| 463 | |
| 464 | async fn round_trip_logical_plan(query: usize) -> Result<()> { |
| 465 | let ctx = SessionContext::default(); |
no test coverage detected
searching dependent graphs…