Hyukjin Kwon created SPARK-62314:
------------------------------------

             Summary: Document upb's address-dependent skipping of unset 
sub-messages in Clear and SyncSubobjs, and its crash after a truncated 
MergeFromString, as differences of the drop-in's protobuf runtime
                 Key: SPARK-62314
                 URL: https://issues.apache.org/jira/browse/SPARK-62314
             Project: Spark
          Issue Type: Documentation
          Components: Connect
    Affects Versions: 5.0.0
            Reporter: Hyukjin Kwon


Two behaviors of upb that the protobuf runtime of the Python client does not 
have should be documented as differences:
(a) upb's Clear, and its SyncSubobjs of a message of 3 or more unset children, 
skip some of them in an order that depends on their addresses: with r = 
Relation(); s, s2 = r.limit, r.sql; r.ParseFromString(b); s2.query = 'x', upb 
sets sql and the Python client does not.
(b) upb can crash (segfault) in SerializeToString after a truncated 
MergeFromString into a message that holds fields; the Python client does not.




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