Skip to content

Commit

Permalink
Remove redundant type constraints from ScalarUDF from (#13578)
Browse files Browse the repository at this point in the history
ScalarUDFImpl has to be Sync and Send.
  • Loading branch information
findepi authored Nov 28, 2024
1 parent 9c6c1e1 commit f6c92fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/expr/src/udf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit f6c92fe

Please sign in to comment.