You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Nikita Awasthi (Jira)" <ji...@apache.org> on 2025/07/03 18:04:00 UTC

[jira] [Commented] (SPARK-52588) Add approx_top_k functions: accumulate, combine, estimate

    [ https://issues.apache.org/jira/browse/SPARK-52588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17993138#comment-17993138 ] 

Nikita Awasthi commented on SPARK-52588:
----------------------------------------

User 'yhuang-db' has created a pull request for this issue:
https://github.com/apache/spark/pull/51308

> Add approx_top_k functions: accumulate, combine, estimate
> ---------------------------------------------------------
>
>                 Key: SPARK-52588
>                 URL: https://issues.apache.org/jira/browse/SPARK-52588
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Yuchuan Huang
>            Priority: Major
>
> Following: [https://issues.apache.org/jira/projects/SPARK/issues/SPARK-52515], which added the SQL function: approx_top_k.
>  
> This ticket adds its sibling functions:
>  * approx_top_k_accumulate: aggregation function, generates the intermediate sketch status of a column.
>  * approx_top_k_combine: aggregation function, merges multiple intermediate sketch status into one.
>  * approx_top_k_estimate: expression function, returns the top_k result from an intermediate sketch status.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org