etolbakov commented on code in PR #17216:
URL: https://github.com/apache/datafusion/pull/17216#discussion_r2296304964


##########
datafusion/pruning/src/pruning_predicate.rs:
##########
@@ -988,7 +988,7 @@ impl<'a> PruningExpressionBuilder<'a> {
         )?;
         let column = columns.iter().next().unwrap().clone();
         let field = match schema.column_with_name(column.name()) {
-            Some((_, f)) => f,
+            Some((_, f)) => f.clone(),

Review Comment:
   Hey @adriangb!
   Thank you very much for the feedback!
   
   Indeed, this change seems to be unnecessary!
   Please let me know if there is anything else ? 



-- 
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

Reply via email to