zhengruifeng commented on code in PR #39462:
URL: https://github.com/apache/spark/pull/39462#discussion_r1065316258
##########
python/pyspark/sql/connect/types.py:
##########
@@ -184,3 +186,113 @@ def proto_schema_to_pyspark_data_type(schema:
pb2.DataType) -> DataType:
)
else:
raise Exception(f"Unsupported data type {schema}")
+
+
+def _need_converter(dataType: DataType) -> bool:
Review Comment:
refer to
https://github.com/apache/spark/blob/51b04406028e14fbe1986f6a3ffc67853bd82935/python/pyspark/sql/types.py#L1692-L1752
the converter in PySpark
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]