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

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

    [ https://issues.apache.org/jira/browse/SPARK-24876?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16550763#comment-16550763 ] 

Apache Spark commented on SPARK-24876:
--------------------------------------

User 'gengliangwang' has created a pull request for this issue:
https://github.com/apache/spark/pull/21829

> 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
>            Priority: Major
>
> 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