Shujing Yang created SPARK-54570:
------------------------------------

             Summary: Propagate the error class correctly in PySpark Connect 
Client
                 Key: SPARK-54570
                 URL: https://issues.apache.org/jira/browse/SPARK-54570
             Project: Spark
          Issue Type: Improvement
          Components: PySpark
    Affects Versions: 4.2.0
            Reporter: Shujing Yang


When `spark.sql.connect.enrichError.enabled` is enabled (default), 
`message_parameters` is retrieved from `root_error.spark_throwable` and set 
correctly. However, `error_class` was not being retrieved/set in the same way, 
causing the error class information to be lost on the PySpark Connect client 
side. This PR fixes it by propagating the error class correctly.



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