Gengliang Wang created SPARK-35987:
--------------------------------------

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


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