You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ga...@apache.org on 2022/05/20 09:00:45 UTC
[flink] branch release-1.15 updated: [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception
This is an automated email from the ASF dual-hosted git repository.
gaoyunhaii pushed a commit to branch release-1.15
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.15 by this push:
new 3171cb019df [FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception
3171cb019df is described below
commit 3171cb019df2ea14bae9057e7da0113b55967bef
Author: Ran Tao <ch...@gmail.com>
AuthorDate: Fri Mar 25 12:02:34 2022 +0800
[FLINK-26788][core] Add cause when AbstractDeserializationSchema throw exception
This closes #19241.
---
.../flink/api/common/serialization/AbstractDeserializationSchema.java | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java b/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java
index d0517300519..0b08828bbeb 100644
--- a/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java
+++ b/flink-core/src/main/java/org/apache/flink/api/common/serialization/AbstractDeserializationSchema.java
@@ -108,7 +108,8 @@ public abstract class AbstractDeserializationSchema<T> implements Deserializatio
"The implementation of AbstractDeserializationSchema is using a generic variable. "
+ "This is not supported, because due to Java's generic type erasure, it will not be possible to "
+ "determine the full type at runtime. For generic implementations, please pass the TypeInformation "
- + "or type class explicitly to the constructor.");
+ + "or type class explicitly to the constructor.",
+ e);
}
}