You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "L. C. Hsieh (Jira)" <ji...@apache.org> on 2021/01/15 18:20:00 UTC

[jira] [Assigned] (SPARK-34037) Remove unnecessary upcasting for Avg & Sum which handle by themself internally

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

L. C. Hsieh reassigned SPARK-34037:
-----------------------------------

    Assignee: Kent Yao

> Remove unnecessary upcasting for Avg & Sum which handle by themself internally
> ------------------------------------------------------------------------------
>
>                 Key: SPARK-34037
>                 URL: https://issues.apache.org/jira/browse/SPARK-34037
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Kent Yao
>            Assignee: Kent Yao
>            Priority: Major
>
> The type-coercion for numeric types of average and sum is not necessary at all, as the resultType and sumType can prevent the overflow.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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