apache / datafusion

Apache DataFusion SQL Query Engine
https://datafusion.apache.org/
Apache License 2.0
5.21k stars 957 forks source link

Minor: remove old `create_physical_expr` to `scalar_function` #10387

Closed jayzhan211 closed 1 week ago

jayzhan211 commented 1 week ago

Which issue does this PR close?

Closes #.

There are two identical create_physical_expr in scalar function and udf, I remove one of them. Also, I think the test in function.rs is no longer relevant, I remove them all.

Rationale for this change

What changes are included in this PR?

Are these changes tested?

Are there any user-facing changes?