comphead commented on issue #2447: URL: https://github.com/apache/arrow-datafusion/issues/2447#issuecomment-1120400563
the same pattern used in `min_max.rs`. The common approach to get the underlying value from ScalarValue is through patmatch, and that causes a lot of similar code branches to operate with underlying values supporting different datatypes. I'm trying to figure out if `sum_batch` function can be reused instead of boilerplate `sum`. In fact `sum` is specific case of `sum_batch` -- 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]
