alamb opened a new pull request, #15284: URL: https://github.com/apache/datafusion/pull/15284
## Which issue does this PR close? ## Rationale for this change - Found while reviewing https://github.com/apache/datafusion/pull/15263 from @adriangb Some of the newer DataFusion crates don't have the `clippy::clone_on_ref_ptr` lint enabled. This lint is present to make it clear when `clone()` is very cheap (because it is on an Arc rather than some structure that requires deep copying ## What changes are included in this PR? 1. Enable the lint in other crates 2. Update a few places to get it to pass Here is an example of the lint enabled in the core crate https://github.com/apache/datafusion/blob/5224194944960c539f637991b22912bb8f61698e/datafusion/core/src/lib.rs#L24 ## Are these changes tested? By CI ## Are there any user-facing changes? No <!-- If there are user-facing changes then we may require documentation to be updated before approving the PR. --> <!-- If there are any breaking changes to public APIs, please add the `api change` label. --> -- 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