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: [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]