-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
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
UDAF and UDWF support aliases #9489
Conversation
Clippy failure is fixed in #9486 |
00ac44a
to
1f151ea
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @lewiszlw -- this is a great feature.
Can you please add some tests so that if this feature gets broken by accident in a future refactoring we would have a test failure?
Perhaps you could add a test like https://github.com/apache/arrow-datafusion/blob/a68f1cbb0c31f263bfa4c7920482e689ffe1ee89/datafusion/core/tests/user_defined/user_defined_scalar_functions.rs#L369-L389
In
- https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/tests/user_defined/user_defined_aggregates.rs
- https://github.com/apache/arrow-datafusion/blob/main/datafusion/core/tests/user_defined/user_defined_window_functions.rs
respectively?
Sure, I can. |
Thank you @lewiszlw ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @lewiszlw -- this looks great 🙏
🚀 Thanks again @lewiszlw |
Which issue does this PR close?
Rationale for this change
UDAF and UDWF should have aliases like UDF.
What changes are included in this PR?
Are these changes tested?
Are there any user-facing changes?