This is an automated email from the ASF dual-hosted git repository.
github-bot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/datafusion.git
The following commit(s) were added to refs/heads/main by this push:
new f10fcbeccb chore: enforce clippy lint needless_pass_by_value to
physical-expr-common (#18556)
f10fcbeccb is described below
commit f10fcbeccb5fa630305070d3a7bb3af532a2389e
Author: Dhanush <[email protected]>
AuthorDate: Sun Nov 9 11:40:46 2025 +0530
chore: enforce clippy lint needless_pass_by_value to physical-expr-common
(#18556)
## Which issue does this PR close?
- Closes #18543
## What changes are included in this PR?
enforce clippy lint `needless_pass_by_value` to
`datafusion-physical-expr-common`
## Are these changes tested?
yes
## Are there any user-facing changes?
no
---
datafusion/physical-expr-common/src/lib.rs | 3 +++
1 file changed, 3 insertions(+)
diff --git a/datafusion/physical-expr-common/src/lib.rs
b/datafusion/physical-expr-common/src/lib.rs
index e21206d906..cac863ee69 100644
--- a/datafusion/physical-expr-common/src/lib.rs
+++ b/datafusion/physical-expr-common/src/lib.rs
@@ -23,6 +23,9 @@
// Make sure fast / cheap clones on Arc are explicit:
// https://github.com/apache/datafusion/issues/11143
#![deny(clippy::clone_on_ref_ptr)]
+// https://github.com/apache/datafusion/issues/18503
+#![deny(clippy::needless_pass_by_value)]
+#![cfg_attr(test, allow(clippy::needless_pass_by_value))]
//! Physical Expr Common packages for [DataFusion]
//! This package contains high level PhysicalExpr trait
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]