Create a logical plan from a SQL query
(sql: &str)
| 1826 | |
| 1827 | /// Create a logical plan from a SQL query |
| 1828 | async fn create_plan(sql: &str) -> Result<LogicalPlan> { |
| 1829 | let ctx = SessionContext::new(); |
| 1830 | register_aggregate_csv(&ctx, "aggregate_test_100").await?; |
| 1831 | Ok(ctx.sql(sql).await?.into_unoptimized_plan()) |
| 1832 | } |
| 1833 | |
| 1834 | #[tokio::test] |
| 1835 | async fn with_column() -> Result<()> { |
no test coverage detected
searching dependent graphs…