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/10/09 02:05:34 UTC

[jira] [Resolved] (SPARK-3713) Use JSON to serialize DataType

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

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

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

> Use JSON to serialize DataType
> ------------------------------
>
>                 Key: SPARK-3713
>                 URL: https://issues.apache.org/jira/browse/SPARK-3713
>             Project: Spark
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 1.1.0
>            Reporter: Cheng Lian
>            Assignee: Cheng Lian
>             Fix For: 1.2.0
>
>
> Currently we are using compiler generated {{toString}} method for case classes to serialize {{DataType}} objects, which is dangerous and already introduced some bugs (e.g. SPARK-3421). Moreover, we also serialize schema in this format and write into generated Parquet metadata. Using JSON can fix all these known and potential issues.



--
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