Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/20838#discussion_r204269682
--- Diff: python/pyspark/sql/conf.py ---
@@ -59,7 +62,7 @@ def unset(self, key):
def _checkType(self, obj, identifier):
"""Assert that an object is of type str."""
- if not isinstance(obj, str) and not isinstance(obj, unicode):
+ if not isinstance(obj, basestring):
--- End diff --
Nope
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]