You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Uroš Bojanić (Jira)" <ji...@apache.org> on 2026/10/16 09:18:00 UTC

[jira] [Resolved] (SPARK-60245) Support vector_sum and vector_avg to work on double array for higher precision

     [ https://issues.apache.org/jira/browse/SPARK-60245?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Uroš Bojanić resolved SPARK-60245.
----------------------------------
    Fix Version/s: 4.4.0
       Resolution: Fixed

Issue resolved by pull request 59466
[https://github.com/apache/spark/pull/59466]

> Support vector_sum and vector_avg to work on double array for higher precision
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-60245
>                 URL: https://issues.apache.org/jira/browse/SPARK-60245
>             Project: Spark
>          Issue Type: New Feature
>          Components: SQL
>    Affects Versions: 4.4.0
>            Reporter: Uros Stankovic
>            Assignee: Uros Stankovic
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 4.4.0
>
>
> Some mathematical workloads requires higher precision for vector_sum and vector_avg functions. Those are mathematical functions where return array is aggregate of all rows of table, and higher precision can benefit workloads such as Value at risk algorithms.
> Other vector functions are used mostly for embedding vectors, and standard there is array<float>, so this extension is needed only for vector_sum and vector_avg.



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