We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70c022a commit c62e482Copy full SHA for c62e482
1 file changed
datafusion/optimizer/src/unions_to_filter.rs
@@ -605,12 +605,14 @@ mod tests {
605
assert_optimized_plan_equal!(plan, @r"
606
Distinct:
607
Union
608
- Sort: mgr ASC NULLS FIRST
609
- Projection: emp.a AS mgr, emp.b AS comm
610
- TableScan: emp
611
612
613
+ Projection: mgr, comm
+ Sort: emp.a ASC NULLS FIRST
+ Projection: emp.a AS mgr, emp.b AS comm, emp.a
+ TableScan: emp
614
615
616
")?;
617
Ok(())
618
}
0 commit comments