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

Wenchen Fan resolved SPARK-51371.
---------------------------------
    Fix Version/s: 4.1.0
       Resolution: Fixed

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

> Change toString to toPrettySQL when building Aliases in 
> ResolveAggregateFunctions
> ---------------------------------------------------------------------------------
>
>                 Key: SPARK-51371
>                 URL: https://issues.apache.org/jira/browse/SPARK-51371
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 4.1.0
>            Reporter: Mihailo Aleksic
>            Assignee: Mihailo Aleksic
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 4.1.0
>
>
> When building Aliases in ResolveAggregateFunctions, toString is used which 
> leads to Alias names having expressions ids in them. As a consequence we have 
> Dataframe programs with nondetermistic behavior (sometimes they fail 
> sometimes they pass because expression ids change) and I propose to fix with 
> using toPrettySQL instead of toString.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to