Piotr Nowojski created FLINK-29662:
--------------------------------------
Summary: PojoSerializerSnapshot is using incorrect ExecutionConfig
when restoring serializer
Key: FLINK-29662
URL: https://issues.apache.org/jira/browse/FLINK-29662
Project: Flink
Issue Type: Bug
Components: API / Type Serialization System
Affects Versions: 1.17.0
Reporter: Piotr Nowojski
{{org.apache.flink.api.java.typeutils.runtime.PojoSerializerSnapshot#restoreSerializer}}
is using freshly created {{new ExecutionConfig()}} execution config for the
restored serializer, which overrides any configuration choices made by the
user. Most likely this is a dormant bug, since restored serializer shouldn't be
used for serializing any new data, and the {{ExecutionConfig}} is only used for
subclasses serializations that haven't been cached. If this is indeed the case,
I would propose to change it's value to {{null}} and safeguard accesses to that
field with an {{IllegalStateException}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)