haohuaijin opened a new issue, #8260: URL: https://github.com/apache/arrow-datafusion/issues/8260
### Is your feature request related to a problem or challenge? After #8148 merge, we have implemented the basic `string_agg` function, but `order by` and `distinct` are not supported yet. As @alamb said, if there is no `order by` clause, the `string_agg` output result is non deterministic , so it is very important to support `order by` in `string_agg`. > One thing I thought of was is I think this function will be non deterministic when aggregating without an ORDER BY -- specifically since the aggregate can see the inputs in any order when doing a multi-phase repartitioned group by. ### Describe the solution you'd like add support of `distinct` and `order by` for `string_agg` function. ### Describe alternatives you've considered _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]
