Michael-J-Ward opened a new issue, #11877:
URL: https://github.com/apache/datafusion/issues/11877

   ### Is your feature request related to a problem or challenge?
   
   `approx_percentile_cont`'s fluent API [currently 
exposes](https://docs.rs/datafusion/40.0.0/datafusion/functions_aggregate/approx_percentile_cont/fn.approx_percentile_cont.html)
 `expression` and `percentile`.
   
   
https://github.com/apache/datafusion/blob/1ecdf900786844f09533e91f7e8fd52170ae6ae6/datafusion/functions-aggregate/src/approx_percentile_cont.rs#L49-L55
   
   However, as described in the [datafusion 
docs](https://datafusion.apache.org/user-guide/sql/aggregate_functions.html#approx-percentile-cont),
  the UDAF accepts a 3rd optional argument, an integer number of centroids for 
T-Digest
   
   
https://github.com/apache/datafusion/blob/1ecdf900786844f09533e91f7e8fd52170ae6ae6/datafusion/functions-aggregate/src/approx_percentile_cont.rs#L76-L94
   
   
   
   ### Describe the solution you'd like
   
   Consistent with exposing optional arguments for [array_slice] and [regexp_*] 
fluent apis, add a 3rd optional argument to `approx_percentile_cont`'s fluent 
API.
   
   [array_slice]: https://github.com/apache/datafusion/issues/10424
   [regexp_*]: https://github.com/apache/datafusion/pull/10514
   
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   I'll have a PR for this shortly.


-- 
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]

Reply via email to