You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2018/10/29 09:41:00 UTC

[jira] [Created] (FLINK-10709) Remove NS generic parameter from TypeSerializerSchemaCompatibility

Tzu-Li (Gordon) Tai created FLINK-10709:
-------------------------------------------

             Summary: Remove NS generic parameter from TypeSerializerSchemaCompatibility
                 Key: FLINK-10709
                 URL: https://issues.apache.org/jira/browse/FLINK-10709
             Project: Flink
          Issue Type: Sub-task
          Components: Type Serialization System
            Reporter: Tzu-Li (Gordon) Tai
            Assignee: Stephan Ewen


It actually isn't required that the {{TypeSerializerSchemaCompatibility}} has the {{NS extends TypeSerializer<T>}} generic.
That was previously added as a future-proof for when we eventually want to add the {{NS getReconfiguredSerializer}} method on the compatibility result. However, it would actually be beneficial if the reconfigured serializer isn't strictly required to be of the same serializer type.

Moreover, the NS generic makes serializer snapshot implementations more complicated.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)