Skip to content

Commit c62e482

Browse files
committed
fix test
1 parent 70c022a commit c62e482

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

datafusion/optimizer/src/unions_to_filter.rs

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -605,12 +605,14 @@ mod tests {
605605
assert_optimized_plan_equal!(plan, @r"
606606
Distinct:
607607
Union
608-
Sort: mgr ASC NULLS FIRST
609-
Projection: emp.a AS mgr, emp.b AS comm
610-
TableScan: emp
611-
Sort: mgr ASC NULLS FIRST
612-
Projection: emp.a AS mgr, emp.b AS comm
613-
TableScan: emp
608+
Projection: mgr, comm
609+
Sort: emp.a ASC NULLS FIRST
610+
Projection: emp.a AS mgr, emp.b AS comm, emp.a
611+
TableScan: emp
612+
Projection: mgr, comm
613+
Sort: emp.a ASC NULLS FIRST
614+
Projection: emp.a AS mgr, emp.b AS comm, emp.a
615+
TableScan: emp
614616
")?;
615617
Ok(())
616618
}

0 commit comments

Comments
 (0)