Dandandan commented on issue #5646: URL: https://github.com/apache/arrow-datafusion/issues/5646#issuecomment-1495416237
The most expensive part is the line `let values = &cast(values, sum_type)?` in `sum_batch` which performs this casting. I guess we should move that evaluation (or other parts of `sum_batch` as well) up, so it will be done before the grouping, rather than after. -- 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]
