[
https://issues.apache.org/jira/browse/FLINK-19321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17199360#comment-17199360
]
CloseRiver commented on FLINK-19321:
------------------------------------
[~fhueske],I want to take this.
BTW,is there requirement for theĀ serialVersionUID? whether it is generated by
IDEA will be ok.
> 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.12.0, 1.11.2
> Reporter: Fabian Hueske
> Priority: Major
>
> 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)