()
| 2587 | |
| 2588 | #[test] |
| 2589 | fn union() { |
| 2590 | let sql = "SELECT order_id from orders UNION SELECT order_id FROM orders"; |
| 2591 | let plan = logical_plan(sql).unwrap(); |
| 2592 | assert_snapshot!( |
| 2593 | plan, |
| 2594 | @r" |
| 2595 | Distinct: |
| 2596 | Union |
| 2597 | Projection: orders.order_id |
| 2598 | TableScan: orders |
| 2599 | Projection: orders.order_id |
| 2600 | TableScan: orders |
| 2601 | " |
| 2602 | ); |
| 2603 | } |
| 2604 | |
| 2605 | #[test] |
| 2606 | fn union_by_name_different_columns() { |
no test coverage detected
searching dependent graphs…