You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "jiaan.geng (Jira)" <ji...@apache.org> on 2023/01/10 09:14:00 UTC
[jira] [Commented] (SPARK-41886) `DataFrame.intersect` doctest output has different order
[ https://issues.apache.org/jira/browse/SPARK-41886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17656529#comment-17656529 ]
jiaan.geng commented on SPARK-41886:
------------------------------------
I want take a look!
> `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
> Priority: Major
>
> 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