Hyukjin Kwon created SPARK-62190:
------------------------------------

             Summary: Read the details of the status of a failure as upb reads 
them, of PySpark's errors, in the Python client
                 Key: SPARK-62190
                 URL: https://issues.apache.org/jira/browse/SPARK-62190
             Project: Spark
          Issue Type: Improvement
          Components: Connect
    Affects Versions: connect-rust-4.4.0
            Reporter: Hyukjin Kwon


Where PySpark's client reads the grpc-status-details-bin of a failure 
(rpc_status.from_call, the Any.Unpack of the first ErrorInfo in 
_handle_rpc_error, and of the first RetryInfo in DefaultPolicy), upb parses the 
details. The drop-in parses them with prost, so its errors differ from 
PySpark's for details that upb does not read: a google.rpc.Status nested past 
upb's limit of 100 levels raises the SparkConnectGrpcException of the code and 
message of the call, or grpc_status's ValueError, where PySpark raises 
protobuf's DecodeError; a string that is not UTF-8, a known field of another 
wire type and other encodings that upb reads its own way give other errors too.




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