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

2021-07-02 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-35987:


Assignee: Apache Spark  (was: Gengliang Wang)

> 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: Apache Spark
>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



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

2021-07-02 Thread Apache Spark (Jira)


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

Apache Spark reassigned SPARK-35987:


Assignee: Gengliang Wang  (was: Apache Spark)

> 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