This is an automated email from the ASF dual-hosted git repository.
jayzhan 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 f6c92fecb2 Remove redundant type constraints from ScalarUDF from
(#13578)
f6c92fecb2 is described below
commit f6c92fecb23c927bdc6a9feb058f03a2fb61d63f
Author: Piotr Findeisen <[email protected]>
AuthorDate: Thu Nov 28 01:24:40 2024 +0100
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 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]