You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ja...@apache.org on 2020/09/22 04:29:27 UTC

[flink] branch release-1.11 updated: [FLINK-19321][streaming][table] Fix CollectSinkFunction does not define serialVersionUID

This is an automated email from the ASF dual-hosted git repository.

jark pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/release-1.11 by this push:
     new 42ac433  [FLINK-19321][streaming][table] Fix CollectSinkFunction does not define serialVersionUID
42ac433 is described below

commit 42ac4337ee9b5c293e2626874f00a7473e68aa3c
Author: zhuxiaoshang <31...@users.noreply.github.com>
AuthorDate: Tue Sep 22 12:25:46 2020 +0800

    [FLINK-19321][streaming][table] Fix CollectSinkFunction does not define serialVersionUID
    
    This closes #13442
    
    Co-authored-by: zhushang <zh...@qutoutiao.net>
---
 .../flink/streaming/api/operators/collect/CollectSinkFunction.java      | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/collect/CollectSinkFunction.java b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/collect/CollectSinkFunction.java
index 02d7924..6432e22 100644
--- a/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/collect/CollectSinkFunction.java
+++ b/flink-streaming-java/src/main/java/org/apache/flink/streaming/api/operators/collect/CollectSinkFunction.java
@@ -122,6 +122,8 @@ import java.util.concurrent.locks.ReentrantLock;
 @Internal
 public class CollectSinkFunction<IN> extends RichSinkFunction<IN> implements CheckpointedFunction, CheckpointListener {
 
+	private static final long serialVersionUID = 1L;
+
 	private static final Logger LOG = LoggerFactory.getLogger(CollectSinkFunction.class);
 
 	private final TypeSerializer<IN> serializer;