File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
datafusion/physical-optimizer/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,7 @@ fn push_down_filters(
508508
509509 // Add the filtered parent predicates to all_predicates
510510 for filter in parent_filters_for_child. items ( ) {
511- all_predicates. push ( filter. predicate . clone ( ) ) ;
511+ all_predicates. push ( Arc :: clone ( & filter. predicate ) ) ;
512512 }
513513
514514 let num_parent_filters = all_predicates. len ( ) - num_self_filters;
@@ -572,7 +572,7 @@ fn push_down_filters(
572572 // Update parent_filter_pushdown_supports with the mapped results
573573 // mapped_parent_results already has the results at their original indices
574574 for ( idx, support) in parent_filter_pushdown_supports. iter_mut ( ) . enumerate ( ) {
575- support[ child_idx] = mapped_parent_results[ idx] . clone ( ) ;
575+ support[ child_idx] = mapped_parent_results[ idx] ;
576576 }
577577 }
578578
You can’t perform that action at this time.
0 commit comments