You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to rename the confusing BuiltIn prefix for these structures
Leave backwards compatibility typedefs type BuiltInWindowExpr = ... to ease migration
Describe alternatives you've considered
I would recommend first simply renaming the structs / traits to remove the BuiltIn prefix / module names
Then I also think it is worth seeing if the BuiltInWindowFunctionExpr trait is still needed, or if the code in physical plan could simply call WindowUDF directly
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem or challenge?
WindowFunctionImpl
). See [Epic] UnifyWindowFunction
Interface (remove built in list ofBuiltInWindowFunction
s) #8709However, there are still a few structures named
BuiltInWindow*
that now no longer reflect the reality that there are no more "built in" functions:A
BuiltInWindowExpr
here:datafusion/datafusion/physical-expr/src/window/built_in.rs
Lines 38 to 45 in 22c1f54
A
BuiltInWindowFunctionExpr
:datafusion/datafusion/physical-expr/src/window/built_in_window_function_expr.rs
Lines 30 to 39 in 22c1f54
Which confusingly is implemented for
WindowUDFExpr
:datafusion/datafusion/physical-plan/src/windows/mod.rs
Lines 218 to 221 in d840e98
Describe the solution you'd like
BuiltIn
prefix for these structurestype BuiltInWindowExpr = ...
to ease migrationDescribe alternatives you've considered
I would recommend first simply renaming the structs / traits to remove the
BuiltIn
prefix / module namesThen I also think it is worth seeing if the
BuiltInWindowFunctionExpr
trait is still needed, or if the code in physical plan could simply callWindowUDF
directlyAdditional context
No response
The text was updated successfully, but these errors were encountered: