HyukjinKwon commented on code in PR #50313: URL: https://github.com/apache/spark/pull/50313#discussion_r2011386426
########## python/pyspark/errors/exceptions/captured.py: ########## @@ -185,6 +186,11 @@ def getQueryContext(self) -> List[BaseQueryContext]: def convert_exception(e: "Py4JJavaError") -> CapturedException: + converted = _convert_exception(e) + return recover_python_exception(converted) Review Comment: If this is specific to UDF, I think we can do this below for `org.apache.spark.api.python.PythonException` case. For connect case too. -- 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]
