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

Hyukjin Kwon resolved SPARK-62207.
----------------------------------
    Fix Version/s: connect-rust-4.4.0
       Resolution: Fixed

Resolved by its sub-tasks SPARK-62208 to SPARK-62218, pull requests 
[#926|https://github.com/apache/spark-connect-rust/pull/926], 
[#929|https://github.com/apache/spark-connect-rust/pull/929], 
[#931|https://github.com/apache/spark-connect-rust/pull/931], 
[#936|https://github.com/apache/spark-connect-rust/pull/936], 
[#950|https://github.com/apache/spark-connect-rust/pull/950], 
[#952|https://github.com/apache/spark-connect-rust/pull/952], 
[#954|https://github.com/apache/spark-connect-rust/pull/954], 
[#932|https://github.com/apache/spark-connect-rust/pull/932], 
[#943|https://github.com/apache/spark-connect-rust/pull/943], 
[#953|https://github.com/apache/spark-connect-rust/pull/953], 
[#956|https://github.com/apache/spark-connect-rust/pull/956].

> Keep the state of the objects of a session and of a DataFrame in their 
> __dict__, and construct and subclass them of PySpark's arguments, as PySpark 
> does
> --------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62207
>                 URL: https://issues.apache.org/jira/browse/SPARK-62207
>             Project: Spark
>          Issue Type: Umbrella
>          Components: Connect
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>             Fix For: connect-rust-4.4.0
>
>
> PySpark's objects of a session and of a DataFrame (the catalog, the 
> configuration, the readers and writers, grouped data, the streaming query 
> classes, the builder, the session itself, Column, WindowSpec, TableArg and 
> the DataFrame) keep their state in their __dict__, and are constructed and 
> subclassed of PySpark's arguments. The drop-in keeps their state in the Rust 
> core, so their vars() are empty, their private attributes of PySpark are 
> missing, and a subclass that calls PySpark's __init__ of its own arguments, 
> or one whose __init__ never ran, behaves differently. Keep their state in 
> their __dict__ as PySpark's, and construct and subclass them of PySpark's 
> arguments. This is split into sub-tasks by group of classes.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

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

Reply via email to