[
https://issues.apache.org/jira/browse/FLINK-6765?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Flink Jira Bot updated FLINK-6765:
----------------------------------
Labels: stale-major (was: )
> PojoSerializer returns wrong ConvertDeserializer when migration is required
> ---------------------------------------------------------------------------
>
> Key: FLINK-6765
> URL: https://issues.apache.org/jira/browse/FLINK-6765
> Project: Flink
> Issue Type: Bug
> Components: API / Type Serialization System
> Affects Versions: 1.3.0, 1.4.0
> Reporter: Till Rohrmann
> Priority: Major
> Labels: stale-major
>
> The {{PojoSerializer}} returns the wrong the ConvertDeserializer when
> migration is required. The reason is the following line in
> PojoSerializer.java:698:
> {code}
> if (compatResult.getConvertDeserializer() != null) {
> rebuiltCache.put(previousCachedEntry.getKey(), cachedSerializer);
> } else {
> return CompatibilityResult.requiresMigration();
> }
> {code}
> which should be imo
> {code}
> if (compatResult.getConvertDeserializer() != null) {
> rebuiltCache.put(previousCachedEntry.getKey(),
> compatResult.getConvertDeserializer());
> } else {
> return CompatibilityResult.requiresMigration();
> }
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)