()
| 2369 | |
| 2370 | #[test] |
| 2371 | fn plan_builder_union() -> Result<()> { |
| 2372 | let plan = |
| 2373 | table_scan(Some("employee_csv"), &employee_schema(), Some(vec![3, 4]))?; |
| 2374 | |
| 2375 | let plan = plan |
| 2376 | .clone() |
| 2377 | .union(plan.clone().build()?)? |
| 2378 | .union(plan.clone().build()?)? |
| 2379 | .union(plan.build()?)? |
| 2380 | .build()?; |
| 2381 | |
| 2382 | assert_snapshot!(plan, @r" |
| 2383 | Union |
| 2384 | Union |
| 2385 | Union |
| 2386 | TableScan: employee_csv projection=[state, salary] |
| 2387 | TableScan: employee_csv projection=[state, salary] |
| 2388 | TableScan: employee_csv projection=[state, salary] |
| 2389 | TableScan: employee_csv projection=[state, salary] |
| 2390 | "); |
| 2391 | |
| 2392 | Ok(()) |
| 2393 | } |
| 2394 | |
| 2395 | #[test] |
| 2396 | fn plan_builder_union_distinct() -> Result<()> { |
nothing calls this directly
no test coverage detected
searching dependent graphs…