Is your feature request related to a problem or challenge? Please describe what you are trying to do.Accumulator is the state of an aggregate function, and has nothing to do with a logical expression.
The current blocker is AggregateUDF which mixes both the function signature and the function implementation. AggregateUDF exists in datafusion-expr because of its signature parts.
Describe the solution you'd like
Move Accumulator trait into datafusion-physical-expr.
Split AggregateUDF into parts, one remains in datafusion-expr that represents AggregateUDF's signature, and the other in datafusion-physical-expr for its implementation.
Describe alternatives you've considered
Don't move.
Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Accumulator
is the state of an aggregate function, and has nothing to do with a logical expression.The current blocker is AggregateUDF which mixes both the function signature and the function implementation. AggregateUDF exists in
datafusion-expr
because of its signature parts.Describe the solution you'd like
datafusion-physical-expr
.datafusion-expr
that represents AggregateUDF's signature, and the other indatafusion-physical-expr
for its implementation.Describe alternatives you've considered Don't move.