Raghuvarran V H created SPARK-32203:
---------------------------------------
Summary: .alias() not working after pivot if there is only one
aggregation
Key: SPARK-32203
URL: https://issues.apache.org/jira/browse/SPARK-32203
Project: Spark
Issue Type: Improvement
Components: PySpark
Affects Versions: 2.4.0
Reporter: Raghuvarran V H
When there is only one aggregation used after pivoting, the renaming is not
working with alias() function. The same works when there is more than one
aggregation. Refer this stack overflow discussion for more details :
[https://stackoverflow.com/questions/62750017/pyspark-strange-behavior-of-alias-function-when-used-in-agg-after-pivot]
It would be better to have a consistent behavior irrespective of the number of
aggregations
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]