This is an automated email from the ASF dual-hosted git repository.

alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-datafusion.git


The following commit(s) were added to refs/heads/master by this push:
     new 23866cde8 Fix clippy (#3182)
23866cde8 is described below

commit 23866cde841edfd25e9700e5d99dcebcdd8290a7
Author: Andrew Lamb <[email protected]>
AuthorDate: Tue Aug 16 17:04:34 2022 -0400

    Fix clippy (#3182)
---
 datafusion/optimizer/src/eliminate_filter.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/datafusion/optimizer/src/eliminate_filter.rs 
b/datafusion/optimizer/src/eliminate_filter.rs
index ef09cd5b5..10175c187 100644
--- a/datafusion/optimizer/src/eliminate_filter.rs
+++ b/datafusion/optimizer/src/eliminate_filter.rs
@@ -190,7 +190,7 @@ mod tests {
 
         let false_filter = lit(false);
         let table_scan = test_table_scan().unwrap();
-        let plan1 = LogicalPlanBuilder::from(table_scan.clone())
+        let plan1 = LogicalPlanBuilder::from(table_scan)
             .project(vec![col("a")])
             .unwrap()
             .filter(false_filter)
@@ -199,7 +199,7 @@ mod tests {
             .unwrap();
 
         let true_filter = lit(true);
-        let plan = LogicalPlanBuilder::from(plan1.clone())
+        let plan = LogicalPlanBuilder::from(plan1)
             .project(vec![col("a")])
             .unwrap()
             .filter(true_filter)

Reply via email to