For both scalar and hash aggregates. **Reporter**: [David Li](https://issues.apache.org/jira/browse/ARROW-13613) / @lidavidm **Assignee**: [David Li](https://issues.apache.org/jira/browse/ARROW-13613) / @lidavidm #### PRs and other links: - [GitHub Pull Request #10931](https://github.com/apache/arrow/pull/10931) <sub>**Note**: *This issue was originally created as [ARROW-13613](https://issues.apache.org/jira/browse/ARROW-13613). Please see the [migration documentation](https://github.com/apache/arrow/issues/14542) for further details.*</sub>