Friede80 commented on code in PR #15135: URL: https://github.com/apache/datafusion/pull/15135#discussion_r1996023999
########## datafusion/expr/src/logical_plan/builder.rs: ########## @@ -776,8 +777,32 @@ impl LogicalPlanBuilder { &missing_cols, is_distinct, )?; + + let mut sort_exprs = normalize_sorts(sorts, &plan)?; + if matches!(&plan, LogicalPlan::Union(_)) Review Comment: I'm with you. I'll take it out -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org For additional commands, e-mail: github-h...@datafusion.apache.org