Skip to content

Commit f6c92fe

Browse files
authored
Remove redundant type constraints from ScalarUDF from (#13578)
ScalarUDFImpl has to be Sync and Send.
1 parent 9c6c1e1 commit f6c92fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion/expr/src/udf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ impl ScalarUDF {
319319

320320
impl<F> From<F> for ScalarUDF
321321
where
322-
F: ScalarUDFImpl + Send + Sync + 'static,
322+
F: ScalarUDFImpl + 'static,
323323
{
324324
fn from(fun: F) -> Self {
325325
Self::new_from_impl(fun)

0 commit comments

Comments
 (0)