mustafasrepo opened a new issue, #4440:
URL: https://github.com/apache/arrow-datafusion/issues/4440

   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   
   Built-in Window Functions and Aggregate functions are handled quite 
differently. This decreases both readability and code reuse. As an example, 
`BuiltInWindowFunctionExpr` uses record batch during 
[creation](https://github.com/apache/arrow-datafusion/blob/522a2a4adea48777f330cac074db94a4da3ea66b/datafusion/physical-expr/src/window/built_in_window_function_expr.rs#L49).
 However, `AggregateExpr` doesn’t require it (as can be seen in the 
[link](https://github.com/apache/arrow-datafusion/blob/522a2a4adea48777f330cac074db94a4da3ea66b/datafusion/physical-expr/src/aggregate/mod.rs#L69)).
 
   
   **Describe the solution you'd like**
   I want to refactor code such that their handling is similar.
   
   **Describe alternatives you've considered**
   N.A
   
   **Additional context**
   N.A


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to