Jefffrey opened a new pull request, #17805:
URL: https://github.com/apache/datafusion/pull/17805
Going through some tickets related to ordered set aggregates and got a
little confused on DataFusion's support for them.
As I understand it, #13511 made `WITHIN GROUP` mandatory for ordered set
aggregate functions, of which we support only two so far:
- `approx_percentile_cont`
- Technically `approx_median` shares some internals with
`approx_percentile_cont` but itself isn't an ordered set aggregation
- `approx_percentile_cont_with_weight` (which uses `approx_percentile_cont`
internally)
This was then amended in #16999 to make it optional, at least via the SQL
API; it is still mandatory on the DataFrame API:
https://github.com/apache/datafusion/blob/bbb5cc79de3d037d0b06572ff417de7c3d9fe437/datafusion/functions-aggregate/src/approx_percentile_cont.rs#L53-L58
I'm updating the doc here to try clarify things to my understanding, as a
followup to the original doc update: #17744
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]