adriangb commented on code in PR #17216: URL: https://github.com/apache/datafusion/pull/17216#discussion_r2285545400
########## 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: Is this necessary? This adds a clone -- 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