flink-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Till Rohrmann (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-6922) Enum(Value)SerializerConfigSnapshot uses Java serialization to store enum values
Date Wed, 14 Jun 2017 16:00:00 GMT
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)

Mime
View raw message