helgikrs commented on code in PR #15142: URL: https://github.com/apache/datafusion/pull/15142#discussion_r1990042204
########## datafusion/optimizer/src/push_down_filter.rs: ########## @@ -774,7 +774,7 @@ impl OptimizerRule for PushDownFilter { let plan_schema = Arc::clone(plan.schema()); - let LogicalPlan::Filter(mut filter) = plan else { + let LogicalPlan::Filter(mut filter) = plan.clone() else { Review Comment: I don't think this clone is necessary--is 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: 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