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 2023/01/10 11:02:00 UTC

[jira] [Assigned] (SPARK-41886) `DataFrame.intersect` doctest output has different order

     [ https://issues.apache.org/jira/browse/SPARK-41886?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Apache Spark reassigned SPARK-41886:
------------------------------------

    Assignee:     (was: Apache Spark)

> `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