Rename / simplify BuiltInWindowExpr
/ BuiltInWindowFunctionExpr
#13473
Labels
BuiltInWindowExpr
/ BuiltInWindowFunctionExpr
#13473
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: