You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Apache Spark (Jira)" <ji...@apache.org> on 2022/12/30 10:56:00 UTC
[jira] [Assigned] (SPARK-41745) SparkSession.createDataFrame does not respect the column names in the row
[ https://issues.apache.org/jira/browse/SPARK-41745?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Apache Spark reassigned SPARK-41745:
------------------------------------
Assignee: Apache Spark
> SparkSession.createDataFrame does not respect the column names in the row
> -------------------------------------------------------------------------
>
> Key: SPARK-41745
> URL: https://issues.apache.org/jira/browse/SPARK-41745
> Project: Spark
> Issue Type: Sub-task
> Components: Connect
> Affects Versions: 3.4.0
> Reporter: Hyukjin Kwon
> Assignee: Apache Spark
> Priority: Major
>
> {code}
> 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>
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org