From f6c92fecb23c927bdc6a9feb058f03a2fb61d63f Mon Sep 17 00:00:00 2001 From: Piotr Findeisen Date: Thu, 28 Nov 2024 01:24:40 +0100 Subject: [PATCH] Remove redundant type constraints from ScalarUDF from (#13578) ScalarUDFImpl has to be Sync and Send. --- datafusion/expr/src/udf.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs index 5493e43e1f1b..bf9c9f407eff 100644 --- a/datafusion/expr/src/udf.rs +++ b/datafusion/expr/src/udf.rs @@ -319,7 +319,7 @@ impl ScalarUDF { impl From for ScalarUDF where - F: ScalarUDFImpl + Send + Sync + 'static, + F: ScalarUDFImpl + 'static, { fn from(fun: F) -> Self { Self::new_from_impl(fun)