[
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: [email protected]
For additional commands, e-mail: [email protected]