Reynold Xin created SPARK-3031: ---------------------------------- Summary: Create JsonSerializable and move JSON serialization from JsonProtocol into each class Key: SPARK-3031 URL: https://issues.apache.org/jira/browse/SPARK-3031 Project: Spark Issue Type: Bug Reporter: Reynold Xin
It is really, really weird that we have a single file JsonProtocol that handles the JSON serialization/deserialization for a bunch of classes. This is very error prone because it is easy to add a new field to a class, and forget to update the JSON part of it. Or worse, add a new event class and forget to add one, as evidenced by https://issues.apache.org/jira/browse/SPARK-3028 -- This message was sent by Atlassian JIRA (v6.2#6252) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org