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)