HyukjinKwon commented on a change in pull request #23900: [SPARK-23836][PYTHON]
Add support for StructType return in Scalar Pandas UDF
URL: https://github.com/apache/spark/pull/23900#discussion_r260871433
##########
File path: python/pyspark/serializers.py
##########
@@ -64,6 +64,7 @@
from itertools import izip as zip, imap as map
else:
import pickle
+ basestring = unicode = str
Review comment:
Yes .. there are some places that use this here and there. IIRC, we
discussed about Python 2 drop in dev mailing list. I could get rid of it soon
anyway ..
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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]