-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Convert BuiltInWindowFunction::{Rank, PercentRank, DenseRank}
to a user defined functions
#12648
Comments
I think this is a good first issue for someone skilled in rust that wants to get a handle on how datafusion works. If you hit issues, let us know |
|
take (unless this might be intended for someone else, happy to step back) |
If you don't mind . Can i work on this issue @hailelagi ? |
take |
Convert BuiltInScalarFunction:: -> Convert BuiltInWindowFunction::{NthValue} |
BuiltInScalarFunction::{Rank, PercentRank, DenseRank}
to a user defined functionsBuiltInWindowFunction::{Rank, PercentRank, DenseRank}
to a user defined functions
Thanks for reaching out. I’m actually already working on this issue, and it’s my first task in the project as well. I’d like to continue with it. @SteNicholas |
@SteNicholas Will you be interested in picking up See https://github.com/apache/datafusion/blob/main/datafusion/physical-expr/src/window/ntile.rs. |
Is your feature request related to a problem or challenge?
Part of #8709
There is now no difference between "built in" / "prepackaged" scalar and aggregate functions in DataFusion, however there are still some "built in" window functions -- see the current source for
BuiltInWindowFunction
for the up to date list of what remainsThe problem with having two different kinds of window functions is
Describe the solution you'd like
I would like to remove the "built in" version of this function and convert it to a user defined function
Describe alternatives you've considered
At a high level the process is:
functions-window
crateBuiltInWindowFunction
variant and then get everything to compile (the compiler will show you where the existing implementations are)Additional context
Here are some good examples:
RowNumber
in Convert built-inrow_number
to user-defined window function #12030The text was updated successfully, but these errors were encountered: