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

ASF GitHub Bot updated SPARK-62190:
-----------------------------------
    Labels: pull-request-available  (was: )

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: connect-rust-4.4.0
>
>
> 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