Skip to content

Apache DataFusion SQL Query Engine

Remove redundant type constraints from ScalarUDF from (#13578)

Piotr Findeisenf6c92fecb23c
diff --git a/datafusion/expr/src/udf.rs b/datafusion/expr/src/udf.rs
index 5493e43e1f..bf9c9f407e 100644
--- a/datafusion/expr/src/udf.rs
+++ b/datafusion/expr/src/udf.rs
@@ -319,7 +319,7 @@ impl ScalarUDF {
impl<F> From<F> for ScalarUDF
where
- F: ScalarUDFImpl + Send + Sync + 'static,
+ F: ScalarUDFImpl + 'static,
{
fn from(fun: F) -> Self {
Self::new_from_impl(fun)