adriangb commented on code in PR #15770:
URL: https://github.com/apache/datafusion/pull/15770#discussion_r2150951172
##########
datafusion/physical-optimizer/src/optimizer.rs:
##########
@@ -131,6 +131,8 @@ impl PhysicalOptimizer {
// replacing operators with fetching variants, or adding limits
// past operators that support limit pushdown.
Arc::new(LimitPushdown::new()),
+ // This FilterPushdown handles dynamic filters that may have
references to the source ExecutionPlan
+ Arc::new(FilterPushdown::new_post_optimization()),
Review Comment:
I will move it lower and add a comment, with a reference to the enum with
larger docs.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]