jonmmease opened a new pull request, #6718:
URL: https://github.com/apache/arrow-datafusion/pull/6718

   # Which issue does this PR close?
   
   Closes #6714
   
   # What changes are included in this PR?
   
   Adds the Postgres `PERCENTILE_CONT` aggregation function.  Refactors the 
median aggregation to use the new `PercentileContAccumulator` with percentile 
0.5.
   
   In order to match the precision of the existing median tests I needed to use 
BigDecimal values for the linear interpolation step.
   
   # Are these changes tested?
   Yes, tests added to 
`datafusion/core/tests/sqllogictests/test_files/aggregate.slt`.
   
   # Are there any user-facing changes?
   Yes, the `percentile_cont` aggregation function is now available in SQL
   


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

Reply via email to