[ https://issues.apache.org/jira/browse/FLINK-29030?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17581236#comment-17581236 ]
Chesnay Schepler commented on FLINK-29030: ------------------------------------------ This in particular happens if a POJO field has an interface type, like {{List}}, or has a type hierarchy exceeding 1 level (e.g., Type1 extends (Type2 extends Type3)). > Consider printing a warning if a Pojo contains a generic type > ------------------------------------------------------------- > > Key: FLINK-29030 > URL: https://issues.apache.org/jira/browse/FLINK-29030 > Project: Flink > Issue Type: Improvement > Components: API / Type Serialization System > Reporter: Chesnay Schepler > Priority: Major > Fix For: 1.17.0 > > > Users are encouraged to use POJO types, that will be serialized by the > PojoSerializer which supports schema evolution. > If a user does not use a POJO we print an info message, linking to the docs > and citing potential performance issues. > However, no such message is printed if a POJO _contains_ a generic type. > As a result there may be users out there believing to have optimal > performance and support for schema evolution since, after all, they are able > to use the POJO serializer, when this may not be the case. -- This message was sent by Atlassian Jira (v8.20.10#820010)