edmondop commented on code in PR #8243:
URL: https://github.com/apache/arrow-datafusion/pull/8243#discussion_r1396668034
##########
datafusion/optimizer/src/decorrelate.rs:
##########
@@ -148,7 +148,7 @@ impl TreeNodeRewriter for PullUpCorrelatedExpr {
let mut plan =
LogicalPlanBuilder::from((*plan_filter.input).clone());
if let Some(expr) = conjunction(subquery_filters) {
- plan = plan.filter(expr)?
+ plan = plan.filter(expr, 20)?
Review Comment:
This seems a case where the optimizer doesn't really optimize an existing
filter, but add a filter, so I think we can only default it
--
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]