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

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

Issue resolved by pull request 968
[https://github.com/apache/spark-connect-rust/pull/968]

> Skip the parts of plans and expressions of no Python object in the garbage 
> collection of the Python client, of a bit of each node
> ---------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62305
>                 URL: https://issues.apache.org/jira/browse/SPARK-62305
>             Project: Spark
>          Issue Type: Improvement
>          Components: Connect
>    Affects Versions: 5.0.0
>            Reporter: Hyukjin Kwon
>            Assignee: Hyukjin Kwon
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> Since SPARK-62235, the garbage collection of the shared parts of the Python 
> client walks every part of a plan or an expression and keeps an entry of 
> each, also of those that hold no Python object below them, so creating 10^5 
> plain DataFrames costs x1.65 and Columns +14%. Keep a bit per node of the 
> core's plans and expressions, "holds a Python object below", computed with 
> the node, so that the parts of no Python object are neither walked nor known. 
> Also let the clone check see the clones of the inputs of plans in test builds.



--
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