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

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

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

> Make the first read of a large flat repeated field of the drop-in's protobuf 
> runtime as fast as it was before SPARK-62266
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: SPARK-62312
>                 URL: https://issues.apache.org/jira/browse/SPARK-62312
>             Project: Spark
>          Issue Type: Bug
>          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
>
>
> After SPARK-62266 (606e700a), the first read of a whole Literal array of 100K 
> strings of the protobuf runtime of the Python client takes 56.6 ms against 
> 43.0 ms before, while its parse saves only 22%: the read costs 144% of what 
> the parse saves (85% and 83% at 1K and 10K, about even at 100 and 1M). The 
> objects of the first read are made in a pass of their own over memory that no 
> longer fits in cache. Make that first read as fast as it was before 
> SPARK-62266.



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