vanhooser commented on a change in pull request #26884: [SPARK-30257] [PySpark]
Add simpleString map
URL: https://github.com/apache/spark/pull/26884#discussion_r357915556
##########
File path: python/pyspark/sql/types.py
##########
@@ -1043,6 +1057,14 @@ def _infer_type(obj):
raise TypeError("not supported type: %s" % type(obj))
+def _type_from_simple_string(simple_str):
+ """Map simpleString to Spark SQL type
+ """
+ found_type = _simple_type_map.get(simple_str, None)
Review comment:
Updated 👍
----------------------------------------------------------------
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]