(
inputs: &[SqlPlan],
distinct: bool,
tenant_id: TenantId,
ctx: &ConvertContext,
)
| 63 | } |
| 64 | |
| 65 | pub(super) fn convert_union( |
| 66 | inputs: &[SqlPlan], |
| 67 | distinct: bool, |
| 68 | tenant_id: TenantId, |
| 69 | ctx: &ConvertContext, |
| 70 | ) -> crate::Result<Vec<PhysicalTask>> { |
| 71 | let mut all_tasks = Vec::new(); |
| 72 | for input in inputs { |
| 73 | all_tasks.extend(convert_one(input, tenant_id, ctx)?); |
| 74 | } |
| 75 | if distinct { |
| 76 | for task in &mut all_tasks { |
| 77 | task.post_set_op = PostSetOp::UnionDistinct; |
| 78 | } |
| 79 | } |
| 80 | Ok(all_tasks) |
| 81 | } |
| 82 | |
| 83 | pub(super) fn convert_intersect( |
| 84 | left: &SqlPlan, |
nothing calls this directly
no test coverage detected