You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "jonmmease (via GitHub)" <gi...@apache.org> on 2023/06/19 13:45:45 UTC

[GitHub] [arrow-datafusion] jonmmease opened a new pull request, #6718: Add percentile_cont aggregation function

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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [arrow-datafusion] jonmmease closed pull request #6718: Add percentile_cont aggregation function

Posted by "jonmmease (via GitHub)" <gi...@apache.org>.
jonmmease closed pull request #6718: Add percentile_cont aggregation function
URL: https://github.com/apache/arrow-datafusion/pull/6718


-- 
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: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org