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

Spark Connect DataFrame does not allow to add custom instance attributes and check for it

    XMLWordPrintableJSON

Details

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

    Description

      ```
      df = spark.range(10)
      df._test = 10

      assert(hasattr(df, "_test"))
      assert(!hasattr(df, "_test_no"))
      ```

      Treats `df._test` like a column

      Attachments

        Activity

          People

            grundprinzip-db Martin Grund
            grundprinzip-db Martin Grund
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: