Description
File "/.../spark/python/pyspark/sql/connect/group.py", line 173, in pyspark.sql.connect.group.GroupedData.pivot
Failed example:
df1.show()
Differences (ndiff with -expected +actual):
- +------+----+--------+
? ---
+ +------+----+-----+
- |course|year|earnings|
+ | _1| _2| _3|
- +------+----+--------+
? ---
+ +------+----+-----+
- |dotNET|2012| 10000|
? ---
+ |dotNET|2012|10000|
- | Java|2012| 20000|
? ---
+ | Java|2012|20000|
- |dotNET|2012| 5000|
? ---
+ |dotNET|2012| 5000|
- |dotNET|2013| 48000|
? ---
+ |dotNET|2013|48000|
- | Java|2013| 30000|
? ---
+ | Java|2013|30000|
- +------+----+--------+
? ---
+ +------+----+-----+
+ <BLANKLINE>
Attachments
Issue Links
- is related to
-
SPARK-41810 SparkSession.createDataFrame does not respect the column names in the dictionary
- Resolved
- links to
(1 links to)