Sandeep Singh created SPARK-41833:
-------------------------------------
Summary: DataFrame.collect() output parity with pyspark
Key: SPARK-41833
URL: https://issues.apache.org/jira/browse/SPARK-41833
Project: Spark
Issue Type: Sub-task
Components: Connect
Affects Versions: 3.4.0
Reporter: Sandeep Singh
{code:java}
File
"/Users/s.singh/personal/spark-oss/python/pyspark/sql/connect/dataframe.py",
line 584, in pyspark.sql.connect.dataframe.DataFrame.unionByName
Failed example:
df1.unionByName(df2).show()
Expected:
+----+----+----+
|col0|col1|col2|
+----+----+----+
| 1| 2| 3|
| 6| 4| 5|
+----+----+----+
Got:
+----+----+----+
|col0|col1|col2|
+----+----+----+
| 1| 2| 3|
| 4| 5| 6|
+----+----+----+
<BLANKLINE>{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]