You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Tzu-Li (Gordon) Tai (JIRA)" <ji...@apache.org> on 2019/02/28 11:22:00 UTC
[jira] [Closed] (FLINK-11406) Return
TypeSerializerSchemaCompatibility.incompatible() when arity of nested
serializers don't match in CompositeTypeSerializerSnapshot's compatibility
check
[ https://issues.apache.org/jira/browse/FLINK-11406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tzu-Li (Gordon) Tai closed FLINK-11406.
---------------------------------------
Resolution: Fixed
Merged.
1.8.0: 7aa802a4b2e0490b57afb2266cb8368158398380
1.9.0: 0ab52e9edc66bac96a2e336f6e9799ff40c7576b
> Return TypeSerializerSchemaCompatibility.incompatible() when arity of nested serializers don't match in CompositeTypeSerializerSnapshot's compatibility check
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: FLINK-11406
> URL: https://issues.apache.org/jira/browse/FLINK-11406
> 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
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> Right now, in {{CompositeTypeSerializerSnapshot.resolveSchemaCompatibility(...)}}, if arity of nested serializers don't match between the snapshot and the provided new serializer, a runtime exception is thrown.
> More ideally, this should return {{TypeSerializerSchemaCompatibility.incompatible()}}.
> We should also make it more clearer in the Javadocs that the {{CompositeTypeSerializerSnapshot}} is intended for product serializers that have a fixed arity of nested serializers.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)