itholic commented on code in PR #49594:
URL: https://github.com/apache/spark/pull/49594#discussion_r1924599853
##########
python/pyspark/errors/exceptions/captured.py:
##########
@@ -146,7 +151,7 @@ def getMessage(self) -> str:
if self._origin is not None and is_instance_of(
gw, self._origin, "org.apache.spark.SparkThrowable"
):
- errorClass = self._origin.getErrorClass()
+ errorClass = self._origin.getCondition()
Review Comment:
We also need to update an `errorClass` to `condition`, but let me separate
it into follow-up tasks as it brings bunch of code changes.
Created umbrella JIRA for error generalization from SPARK-50916, so will put
several related tasks there.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]