Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-41279 Feature parity: DataFrame API in Spark Connect
  3. SPARK-41886

`DataFrame.intersect` doctest output has different order

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.4.0
    • 3.4.0
    • Connect, PySpark
    • None

    Description

      not sure whether this needs to be fix:

      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
      
      

      Attachments

        Activity

          People

            beliefer Jiaan Geng
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: