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

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

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

> Parse the plan of an expression of the Python client into native values of 
> its protobuf runtime, and make its message objects when Python reads them
> ----------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62266
>                 URL: https://issues.apache.org/jira/browse/SPARK-62266
>             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
>
>
> The protobuf runtime of the Python client (crates/pyspark-rs/src/pbmsg) 
> parses the bytes of a plan into one Python message object per message, so the 
> to_plan of an expression that PySpark's Python code builds takes 2.2 us, 
> against 0.8 us with PySpark's upb. SPARK-62264 makes the copies of messages 
> native values whose Python objects are made at their first read; doing the 
> same for parsed messages would close the gap. Parse the plan into native 
> values of the runtime and make its message objects when Python reads them, 
> keeping the observable behavior (identity, bytes, text, errors) as upb's.



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