Gengliang Wang created SPARK-24876:
--------------------------------------
Summary: Remove SerializableSchema and use json format string
schema
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
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]