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

[jira] [Resolved] (SPARK-35987) The ANSI flags of Sum and Avg should be kept after being copied

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

Wenchen Fan resolved SPARK-35987.
---------------------------------
    Fix Version/s: 3.2.0
                   3.3.0
       Resolution: Fixed

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

> The ANSI flags of Sum and Avg should be kept after being copied
> ---------------------------------------------------------------
>
>                 Key: SPARK-35987
>                 URL: https://issues.apache.org/jira/browse/SPARK-35987
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 3.2.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 3.3.0, 3.2.0
>
>
> For Views and UDFs, it is important to show consistent results even the ANSI configuration is different in the running session. This is why many expressions like 'Add'/'Divide'/'CAST' making the ANSI flag part of its case class parameter list.
> We should make it consistent for `Sum`/`Avg`



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