[jira] [Created] (FLINK-6922) Enum(Value)SerializerConfigSnapshot uses Java serialization to store enum values

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jira] [Created] (FLINK-6922) Enum(Value)SerializerConfigSnapshot uses Java serialization to store enum values

JIRA jira@apache.org
Till Rohrmann created FLINK-6922:
------------------------------------

             Summary: Enum(Value)SerializerConfigSnapshot uses Java serialization to store enum values
                 Key: FLINK-6922
                 URL: https://issues.apache.org/jira/browse/FLINK-6922
             Project: Flink
          Issue Type: Bug
          Components: Type Serialization System
    Affects Versions: 1.3.0, 1.4.0
            Reporter: Till Rohrmann


The {{EnumSerializer}} and the {{EnumValueSerializer}} (Scala) uses Java serialization to store enum values. From a user perspective this can be a bit of a problem if the user forgot to add a serial version UID. I think it would be better to store the enum information without Java serialization to avoid this problem.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
Loading...