You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Xiao Li (JIRA)" <ji...@apache.org> on 2018/07/20 21:59:00 UTC

[jira] [Resolved] (SPARK-24876) Simplify schema serialization

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

Xiao Li resolved SPARK-24876.
-----------------------------
       Resolution: Fixed
         Assignee: Gengliang Wang
    Fix Version/s: 2.4.0

> Simplify schema serialization
> -----------------------------
>
>                 Key: SPARK-24876
>                 URL: https://issues.apache.org/jira/browse/SPARK-24876
>             Project: Spark
>          Issue Type: Sub-task
>          Components: SQL
>    Affects Versions: 2.4.0
>            Reporter: Gengliang Wang
>            Assignee: Gengliang Wang
>            Priority: Major
>             Fix For: 2.4.0
>
>
> Previously in the refactoring of Avro Serializer and Deserializer, a new class SerializableSchema is created for serializing the avro schema.
> [https://github.com/apache/spark/commit/96030876383822645a5b35698ee407a8d4eb76af#diff-7ca6378b3afe21467a274983522ec48eR18] 
> On second thought, we can use `toString` method for serialization. After that, parse the JSON format schema on executor. This makes the code much simpler.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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