You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Michael Armbrust (JIRA)" <ji...@apache.org> on 2014/09/27 21:22:33 UTC

[jira] [Resolved] (SPARK-3681) Failed to serialized ArrayType or MapType after accessing them in Python

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

Michael Armbrust resolved SPARK-3681.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 1.2.0

Issue resolved by pull request 2526
[https://github.com/apache/spark/pull/2526]

> 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
>             Fix For: 1.2.0
>
>
> {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-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org