We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As part of #8045 we need to ensure that scalar UDFs have the same functionality as built in functions.
One gap that currently exists is "aliases".
For example, pow and power are both resolved to the same function.
pow
power
Implement aliasing for ScalarUDF
Basically :
I am envisioning creating a scalar UDF with a new function with_alias. Something like
with_alias
ScalarUDF::new( "pow", &Signature::exact(input_types, volatility), &return_type, &fun, ) .with_alias("power")
Currently the alias list is here: https://github.com/apache/arrow-datafusion/blob/094a0e2d0c8c1f71c985c7bfdf21433ebc8f203e/datafusion/expr/src/built_in_function.rs#L1374
No response
The text was updated successfully, but these errors were encountered:
BuiltInScalarFunction
BuiltInScalarFunction::alias
hi @alamb maybe I can help with this ticket
Sorry, something went wrong.
@Veeupup if you decide not to proceed I will pick this up, let me know
Ed
@edmondop hi! very glad to have you there!
I have made a PR #8360 hours ago. Maybe you can help me review it and let's make it better together! : )
Successfully merging a pull request may close this issue.
Is your feature request related to a problem or challenge?
As part of #8045 we need to ensure that scalar UDFs have the same functionality as built in functions.
One gap that currently exists is "aliases".
For example,
pow
andpower
are both resolved to the same function.Describe the solution you'd like
Implement aliasing for ScalarUDF
Basically :
I am envisioning creating a scalar UDF with a new function
with_alias
. Something likeCurrently the alias list is here:
https://github.com/apache/arrow-datafusion/blob/094a0e2d0c8c1f71c985c7bfdf21433ebc8f203e/datafusion/expr/src/built_in_function.rs#L1374
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: