flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-6922) Enum(Value)SerializerConfigSnapshot uses Java serialization to store enum values
Date Tue, 20 Jun 2017 12:40:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-6922?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16055687#comment-16055687
] 

ASF GitHub Bot commented on FLINK-6922:
---------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/flink/pull/4147


> 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
>            Assignee: Tzu-Li (Gordon) Tai
>
> 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