viirya opened a new issue, #6174: URL: https://github.com/apache/arrow-datafusion/issues/6174
### Describe the bug We've encountered errors about Dictionary scalar that sum row updater cannot handle, while running some internal tests on top of DataFusion. Under some conditions, hash aggregation updates accumulators using scalar from input arrays, the scalar values obtained from `try_from_array` could be Dictionary scalar. Currently seems `add_to_row` and `update_avg_to_row` both don't handle such cases. ### To Reproduce _No response_ ### Expected behavior _No response_ ### Additional context _No response_ -- 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]
