Mihailo Aleksic created SPARK-51371:
---------------------------------------
Summary: 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
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: [email protected]
For additional commands, e-mail: [email protected]