KR-bluejay commented on issue #15882:
URL: https://github.com/apache/datafusion/issues/15882#issuecomment-2862498585

   @alamb 
   
   Following your comment about making array functions more general, I suggest 
we create a common directory for array operations to reduce code duplication:
   
   ```
   datafusion/common/src/array/
   ```
   
   We could implement each operation in a separate file:
   - array_sum.rs
   - array_abs.rs
   - array_min.rs
   - array_max.rs
   
   This would provide a consistent interface for both element-wise operations 
and aggregations on arrays, making the codebase more maintainable and easier to 
extend with new array functions in the future.
   
   I'd like to work on implementing this approach. What do you think about 
organizing array operations this way? If this approach seems reasonable, I'm 
happy to start working on it.


-- 
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: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to