advancedxy commented on a change in pull request #25847: [SPARK-21045][PYTHON]
Allow non-ascii string as an exception message from python execution in Python 2
URL: https://github.com/apache/spark/pull/25847#discussion_r326249153
##########
File path: python/pyspark/worker.py
##########
@@ -46,6 +46,7 @@
if sys.version >= '3':
basestring = str
+ unicode = str
Review comment:
This is necessary, see
https://github.com/apache/spark/pull/25814#issuecomment-533147556
----------------------------------------------------------------
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]