[
https://issues.apache.org/jira/browse/SPARK-53886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Tenedorio resolved SPARK-53886.
--------------------------------------
Assignee: Christopher Boumalhab
Resolution: Duplicate
This implementation is tracked separately in:
https://issues.apache.org/jira/browse/SPARK-53991
> Percentile estimation functions
> -------------------------------
>
> Key: SPARK-53886
> URL: https://issues.apache.org/jira/browse/SPARK-53886
> Project: Spark
> Issue Type: New Feature
> Components: SQL
> Affects Versions: 0.5.0
> Reporter: Gengliang Wang
> Assignee: Christopher Boumalhab
> Priority: Major
>
> Similar to https://issues.apache.org/jira/browse/SPARK-53885, it would be
> useful to have the following percentile estimation functions based on data
> sketch. These functions provide a lightweight, mergeable representation of
> percentile distributions, enabling efficient approximate percentile
> computation over large or streaming datasets without maintaining full data
> samples.
> * *APPROX_PERCENTILE_ACCUMULATE(expr[, maxItemsTracked]):* Creates an
> intermediate state object that incrementally accumulates values for
> percentile estimation using a sketch-based algorithm.
> * *APPROX_PERCENTILE_ESTIMATE(state [, k] ])* : Returns the approximate
> percentile value(s) from a previously accumulated sketch state.
> * *APPROX_PERCENTILE_COMBINE(expr[, maxItemsTracked])* : Merges two
> intermediate sketch states to enable distributed or parallel percentile
> estimation.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]