Execute SQL and return results as a RecordBatch
(ctx: &SessionContext, sql: &str)
| 124 | |
| 125 | /// Execute SQL and return results as a RecordBatch |
| 126 | async fn plan_and_collect(ctx: &SessionContext, sql: &str) -> Result<Vec<RecordBatch>> { |
| 127 | ctx.sql(sql).await?.collect().await |
| 128 | } |
| 129 | |
| 130 | /// Execute query and return results as a Vec of RecordBatches |
| 131 | async fn execute_to_batches(ctx: &SessionContext, sql: &str) -> Vec<RecordBatch> { |
no test coverage detected
searching dependent graphs…