advancedxy opened a new pull request #25847: [SPARK-21045][PYSPARK] Defensive check for exception info thrown by user URL: https://github.com/apache/spark/pull/25847 ### What changes were proposed in this pull request? Make a defensive check when encoding exception info to utf-8 based str as it may contains invalid encoding bytes. ### Why are the changes needed? Previously PySpark will hang when the UnicodeDecodeError occurs and the real exception cannot be passed to the JVM side. ### Does this PR introduce any user-facing change? User may not observe hanging for the similar cases. ### How was this patch tested? Added a new test and manually checking.
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
