()
| 1598 | |
| 1599 | #[tokio::test] |
| 1600 | async fn limit() -> Result<()> { |
| 1601 | // build query using Table API |
| 1602 | let t = test_table().await?; |
| 1603 | let t2 = t.select_columns(&["c1", "c2", "c11"])?.limit(0, Some(10))?; |
| 1604 | let plan = t2.logical_plan().clone(); |
| 1605 | |
| 1606 | // build query using SQL |
| 1607 | let sql_plan = |
| 1608 | create_plan("SELECT c1, c2, c11 FROM aggregate_test_100 LIMIT 10").await?; |
| 1609 | |
| 1610 | // the two plans should be identical |
| 1611 | assert_same_plan(&plan, &sql_plan); |
| 1612 | |
| 1613 | Ok(()) |
| 1614 | } |
| 1615 | |
| 1616 | #[tokio::test] |
| 1617 | async fn df_count() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…