[
https://issues.apache.org/jira/browse/SPARK-62272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hyukjin Kwon reassigned SPARK-62272:
------------------------------------
Assignee: Hyukjin Kwon
> Read a copied message of the Python client's protobuf runtime while another
> thread prints it, and close the other gaps of SPARK-62264 to upb
> --------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-62272
> URL: https://issues.apache.org/jira/browse/SPARK-62272
> Project: Spark
> Issue Type: Bug
> Components: Connect
> Affects Versions: 5.0.0
> Reporter: Hyukjin Kwon
> Assignee: Hyukjin Kwon
> Priority: Major
> Labels: pull-request-available
>
> Follow-ups of SPARK-62264, from the independent review of its PR, against upb:
> (1) a first read of a copied field while another thread prints the message
> (to_text) or lists its unknown fields can raise a Rust borrow panic
> (PanicException), as the printing allocates messages under a borrow;
> (2) the first read of a copied repeated or map field of 1,024 or more items
> can release the GIL and take a signal, which docs/compatibility.md does not
> list;
> (3) the cost of copying and then reading all of a copy (1.26-1.61x master);
> (4) tests of the native path.
> Pre-existing:
> (5) CopyFrom over a nested unset child drops copied fields that upb keeps;
> (6) a second __init__ of a repeated field whose iterable fails midway keeps
> no item, where upb keeps those before the failure;
> (7) a pickled Any of the Python client unpickles as protobuf's any_pb2.Any.
> Make them behave as upb does.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]