Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-44643

__repr__ broken for Row when the field is empty Row

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.5.0
    • 3.5.0, 4.0.0
    • PySpark
    • None

    Description

      PySpark Row raises and exception if the field is empty Row:

      >>> repr(Row(Row()))
      Traceback (most recent call last):
      ...
      TypeError: not enough arguments for format string
      

      Attachments

        Activity

          People

            ueshin Takuya Ueshin
            ueshin Takuya Ueshin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: