[
https://issues.apache.org/jira/browse/SPARK-41832?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Apache Spark reassigned SPARK-41832:
------------------------------------
Assignee: Apache Spark
> DataFrame.unionByName output is wrong
> -------------------------------------
>
> Key: SPARK-41832
> URL: https://issues.apache.org/jira/browse/SPARK-41832
> Project: Spark
> Issue Type: Sub-task
> Components: Connect
> Affects Versions: 3.4.0
> Reporter: Sandeep Singh
> Assignee: Apache Spark
> Priority: Major
>
> {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]