sadhen commented on a change in pull request #31735:
URL: https://github.com/apache/spark/pull/31735#discussion_r596115740
##########
File path: python/pyspark/sql/pandas/types.py
##########
@@ -74,6 +74,8 @@ def to_arrow_type(dt):
arrow_type = pa.struct(fields)
elif type(dt) == NullType:
arrow_type = pa.null()
+ elif isinstance(dt, UserDefinedType):
+ arrow_type = to_arrow_type(dt.sqlType())
Review comment:
This PR is too big. I plan to separate this part into a subtask:
https://issues.apache.org/jira/browse/SPARK-34771
----------------------------------------------------------------
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]