Skip to content

Commit 78124b5

Browse files
remove Arc from create_udf call
Ref: apache/datafusion#12489
1 parent d226816 commit 78124b5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)