alamb commented on code in PR #15770: URL: https://github.com/apache/datafusion/pull/15770#discussion_r2145903411
########## datafusion/physical-optimizer/src/enforce_sorting/sort_pushdown.rs: ########## @@ -70,6 +71,8 @@ pub fn assign_initial_requirements(sort_push_down: &mut SortPushDown) { // If the parent has a fetch value, assign it to the children // Or use the fetch value of the child. fetch: child.plan.fetch(), + // If the parent has a filter, assign it to the children Review Comment: Thank you -- this makes sense to me Maybe we can clarify with some additional comments to help the future readers -- 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