You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/02/28 11:07:00 UTC
[jira] [Updated] (FLINK-11740) Ill-defined
CompositeTypeSerializerSnapshot class signature
[ https://issues.apache.org/jira/browse/FLINK-11740?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated FLINK-11740:
-----------------------------------
Labels: pull-request-available (was: )
> Ill-defined CompositeTypeSerializerSnapshot class signature
> -----------------------------------------------------------
>
> Key: FLINK-11740
> URL: https://issues.apache.org/jira/browse/FLINK-11740
> Project: Flink
> Issue Type: Improvement
> Components: API / Type Serialization System
> Reporter: Tzu-Li (Gordon) Tai
> Assignee: Tzu-Li (Gordon) Tai
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.8.0
>
>
> The class signature of {{CompositeTypeSerializerSnapshot}} allows subclasses to have raw types, while also requiring subclasses to erase types and re-cast when providing the expected serializer class in constructors.
> The signature should be changed to as follows:
> {code}
> public abstract class CompositeTypeSerializerSnapshot<T, S extends TypeSerializer<T>> implements TypeSerializerSnapshot<T> { ... }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)