Alex Khakhlyuk created SPARK-53568:
--------------------------------------

             Summary: Fix several small bugs in Spark Connect Python client 
error handling logic
                 Key: SPARK-53568
                 URL: https://issues.apache.org/jira/browse/SPARK-53568
             Project: Spark
          Issue Type: Bug
          Components: Connect, PySpark
    Affects Versions: 4.1.0
            Reporter: Alex Khakhlyuk


# [This PR 
|https://github.com/apache/spark/commit/5102370dcf37ebf64d19b536656576d6b068e59a#diff-67c4c88c462539a60764612d6ac0048523f0cdc44a8997a2228803565054c6a9]introduced
 a bug where {{{}SparkConnectGrpcException.grpc_status_code{}}}: 
{{grpc.StatusCode}} is set from {{{}status.code{}}}, which is an int. This 
should be fixed and status code should be set from the rpc_error.code().
 # Some errors don't contain the status codes, although it's always available 
for grpc exceptions.
 # There is an old bug in {{SparkConnectGrpcException._errorClass}} is set to 
"" instead of None in certain cases.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to