Light-City opened a new pull request, #41254: URL: https://github.com/apache/arrow/pull/41254
### Rationale for this change In order to support more grammatical features, improve the filter before agg. https://www.postgresql.org/docs/current/tutorial-agg.html ### What changes are included in this PR? 1. Add filter expression to FunctionOption. 2. Support filter capabilities for ScalarAgg and GroupByAgg, and add filter function implementation before the three-stage consume. 3. Move the filter logic in filter_node.cc to expression.cc to facilitate other operators to use the common filter function. 4.count_all and hash_count_all add default options to allow filters. 5. Add unit tests for relevant modifications. ### Are these changes tested? yes, include scalar and groupby agg. ### Are there any user-facing changes? yes. -- 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]
