Skip to content

Commit 2fd2b83

Browse files
remove Arc from create_udf call
Ref: apache/datafusion#12489
1 parent e14cca2 commit 2fd2b83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/udf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ impl PyScalarUDF {
9797
let function = create_udf(
9898
name,
9999
input_types.0,
100-
Arc::new(return_type.0),
100+
return_type.0,
101101
parse_volatility(volatility)?,
102102
to_scalar_function_impl(func),
103103
);

0 commit comments

Comments
 (0)