XMLWordPrintableJSON

Details

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

    Description

      File "/Users/ruifeng.zheng/Dev/spark/python/pyspark/sql/connect/functions.py", line 1578, in pyspark.sql.connect.functions.struct
      Failed example:
          df.select(struct('age', 'name').alias("struct")).collect()
      Expected:
          [Row(struct=Row(age=2, name='Alice')), Row(struct=Row(age=5, name='Bob'))]
      Got:
          [Row(struct={'age': 2, 'name': 'Alice'}), Row(struct={'age': 5, 'name': 'Bob'})]
      
      

      Attachments

        Activity

          People

            apachespark Apache Spark
            podongfeng Ruifeng Zheng
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: