WinkerDu opened a new issue, #2406: URL: https://github.com/apache/arrow-datafusion/issues/2406
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.** Here are multiple aggregate expressions have not support `distinct` usage yet. Though optimizer `SingleDistinctToGroupBy` (#1315) supports single distinct usage, there are more SQL scenes have not been covered, like ``` SELECT AVG(c1), SUM(DISTINCT c2) FROM test ``` I would like to take effort to work on the following tickets to complete `distinct` usage for aggregate expressions - [ ] #2405 **Describe the solution you'd like** Adds specific aggregate expression support, like `expressions::DistinctSum` for `sum(distinct)` **Describe alternatives you've considered** No. **Additional context** No. -- 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]
