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

Apache Spark commented on SPARK-35987:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
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
>
> 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-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to