Hyukjin Kwon created SPARK-62207:
------------------------------------
Summary: 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
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]