You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Ruifeng Zheng (Jira)" <ji...@apache.org> on 2023/01/05 01:24:00 UTC
[jira] [Created] (SPARK-41886) `DataFrame.intersect` doctest output has different order
Ruifeng Zheng created SPARK-41886:
-------------------------------------
Summary: `DataFrame.intersect` doctest output has different order
Key: SPARK-41886
URL: https://issues.apache.org/jira/browse/SPARK-41886
Project: Spark
Issue Type: Sub-task
Components: Connect, PySpark
Affects Versions: 3.4.0
Reporter: Ruifeng Zheng
not sure whether this needs to be fix:
{code:java}
File "/Users/ruifeng.zheng/Dev/spark/python/pyspark/sql/connect/dataframe.py", line 609, in pyspark.sql.connect.dataframe.DataFrame.intersect
Failed example:
df1.intersect(df2).show()
Expected:
+---+---+
| C1| C2|
+---+---+
| b| 3|
| a| 1|
+---+---+
Got:
+---+---+
| C1| C2|
+---+---+
| a| 1|
| b| 3|
+---+---+
<BLANKLINE>
**********************************************************************
1 of 3 in pyspark.sql.connect.dataframe.DataFrame.intersect
{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