Runs the specified SQL query and returns the number of output rows and normalized execution metrics
(&mut self, sql: &str)
| 351 | /// Runs the specified SQL query and returns the number of output |
| 352 | /// rows and normalized execution metrics |
| 353 | async fn query(&mut self, sql: &str) -> TestOutput { |
| 354 | println!("Planning sql {sql}"); |
| 355 | let logical_plan = self |
| 356 | .ctx |
| 357 | .sql(sql) |
| 358 | .await |
| 359 | .expect("planning") |
| 360 | .into_unoptimized_plan(); |
| 361 | self.run_test(logical_plan, sql).await |
| 362 | } |
| 363 | |
| 364 | /// runs the logical plan |
| 365 | async fn run_test( |
no test coverage detected