[
https://issues.apache.org/jira/browse/SPARK-62303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon reassigned SPARK-62303:
------------------------------------
Assignee: Hyukjin Kwon
> Box the large variants of the core's LogicalPlan, so that a node of a plan
> takes about 170 bytes rather than 632
> ----------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62303
> URL: https://issues.apache.org/jira/browse/SPARK-62303
> Project: Spark
> Issue Type: Improvement
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
>
> LogicalPlan of the spark_connect crate is 632 bytes per node, the size of its
> largest variant, GroupMap (an inline UDF expression of 232 bytes, a state
> schema and a TransformWithStateInfo). Boxing those fields, and the large ones
> of MlTransform, ApplyInPandasWithState, CoGroupMap, MapPartitions,
> Unbuildable, Catalog and Read, brings a node to about 170 bytes: about 460
> bytes less per derived DataFrame of the Python client, whose 100k live
> DataFrames take about 194 MB more RSS than PySpark's 56 MB. No change of
> behavior; the core only.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]