Fabian Hueske created FLINK-19321:
-------------------------------------
Summary: CollectSinkFunction does not define serialVersionUID
Key: FLINK-19321
URL:
https://issues.apache.org/jira/browse/FLINK-19321 Project: Flink
Issue Type: Bug
Components: Table SQL / Runtime
Affects Versions: 1.11.2, 1.12.0
Reporter: Fabian Hueske
The {{org.apache.flink.streaming.api.operators.collect.CollectSinkFunction}} function does not define a {{serialVersionUID}}.
Function objects are serialized using Java Serialization and should define a {{serialVersionUID.}}
If no o serialVersionUID is defined, Java automatically generates IDs to check compatibility of objects during deserialization. However, the generation depends on the environment (JVM, class version, etc.) and can hence lead to {{[java.io|
http://java.io/].InvalidClassException}} even if the classes are compatible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)