()
| 329 | |
| 330 | #[tokio::test] |
| 331 | async fn select_expr() -> Result<()> { |
| 332 | // build plan using Table API |
| 333 | let t = test_table().await?; |
| 334 | let t2 = t.select(vec![col("c1"), col("c2"), col("c11")])?; |
| 335 | let plan = t2.logical_plan().clone(); |
| 336 | |
| 337 | // build query using SQL |
| 338 | let sql_plan = create_plan("SELECT c1, c2, c11 FROM aggregate_test_100").await?; |
| 339 | |
| 340 | // the two plans should be identical |
| 341 | assert_same_plan(&plan, &sql_plan); |
| 342 | |
| 343 | Ok(()) |
| 344 | } |
| 345 | |
| 346 | #[tokio::test] |
| 347 | async fn select_all() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…