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)