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

Hyukjin Kwon resolved SPARK-44528.
----------------------------------
    Fix Version/s: 3.5.0
                   4.0.0
       Resolution: Fixed

Issue resolved by pull request 42132
[https://github.com/apache/spark/pull/42132]

> Spark Connect DataFrame does not allow to add custom instance attributes and 
> check for it
> -----------------------------------------------------------------------------------------
>
>                 Key: SPARK-44528
>                 URL: https://issues.apache.org/jira/browse/SPARK-44528
>             Project: Spark
>          Issue Type: Bug
>          Components: Connect
>    Affects Versions: 3.4.1
>            Reporter: Martin Grund
>            Assignee: Martin Grund
>            Priority: Major
>             Fix For: 3.5.0, 4.0.0
>
>
> ```
> df = spark.range(10)
> df._test = 10
> assert(hasattr(df, "_test"))
> assert(!hasattr(df, "_test_no"))
> ```
> Treats `df._test` like a column



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to