[
https://issues.apache.org/jira/browse/ARROW-3850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16700886#comment-16700886
]
Bryan Cutler commented on ARROW-3850:
-------------------------------------
StructType support is limited, right now it's used as the return type for
grouped map Pandas UDFs, but not nested I believe. Other Pandas UDFs do not
support at all yet, SPARK-23836. Other areas such as toPandas also do not
support StructType yet SPARK-21537
> [Python] Support MapType and StructType for enhanced PySpark integration
> ------------------------------------------------------------------------
>
> Key: ARROW-3850
> URL: https://issues.apache.org/jira/browse/ARROW-3850
> Project: Apache Arrow
> Issue Type: New Feature
> Affects Versions: 0.11.1
> Reporter: Florian Wilhelm
> Priority: Major
> Fix For: 0.13.0
>
>
> It would be great to support MapType and (nested) StructType in Arrow so that
> PySpark can make use of it.
>
> Quite often as in my use-case in Hive table cells are also complex types
> saved. Currently it's not possible to user the new
> {{[pandas_udf|https://spark.apache.org/docs/latest/api/python/pyspark.sql.html?highlight=explode#pyspark.sql.functions.pandas_udf]}}
> decorator which internally uses Arrow to generate a UDF for columns with
> complex types.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)