[ 
https://issues.apache.org/jira/browse/SPARK-3681?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Patrick Wendell updated SPARK-3681:
-----------------------------------
    Component/s: PySpark

> Failed to serialized ArrayType or MapType  after accessing them in Python
> -------------------------------------------------------------------------
>
>                 Key: SPARK-3681
>                 URL: https://issues.apache.org/jira/browse/SPARK-3681
>             Project: Spark
>          Issue Type: Bug
>          Components: PySpark
>            Reporter: Davies Liu
>            Assignee: Davies Liu
>
> {code}
> files_schema_rdd.map(lambda x: x.files).take(1)
> {code}
> Also it will lose the schema after iterate an ArrayType.
> {code}
> files_schema_rdd.map(lambda x: [f.batch for f in x.files]).take(1)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org
For additional commands, e-mail: issues-h...@spark.apache.org

Reply via email to