(ctx: &SessionContext)
| 111 | } |
| 112 | |
| 113 | async fn register_aggregate_csv(ctx: &SessionContext) -> Result<()> { |
| 114 | let testdata = test_util::arrow_test_data(); |
| 115 | let schema = test_util::aggr_test_schema(); |
| 116 | ctx.register_csv( |
| 117 | "aggregate_test_100", |
| 118 | &format!("{testdata}/csv/aggregate_test_100.csv"), |
| 119 | CsvReadOptions::new().schema(&schema), |
| 120 | ) |
| 121 | .await?; |
| 122 | Ok(()) |
| 123 | } |
| 124 | |
| 125 | /// Execute SQL and return results as a RecordBatch |
| 126 | async fn plan_and_collect(ctx: &SessionContext, sql: &str) -> Result<Vec<RecordBatch>> { |
no test coverage detected
searching dependent graphs…