Youjun Yuan created FLINK-37742:
-----------------------------------

             Summary: POJO type expected but was: GenericType when resume from 
savepoint
                 Key: FLINK-37742
                 URL: https://issues.apache.org/jira/browse/FLINK-37742
             Project: Flink
          Issue Type: Bug
          Components: API / Type Serialization System
    Affects Versions: 1.14.4
            Reporter: Youjun Yuan


when resume from a savepoint, got below error:

*POJO type expected but was: GenericType<....MyPojoClass>*

 *at org.apache.flink.api.common.typeinfo.Types.POJO(Types.java:284)*

 

but if start the job without resuming from savepoint, then everything went 
well. Also I ran a testCase, which does exactly what 
Type.POJO(MyPojoClass.class) does, it did returns a PojoTypeInfo, not a 
*GenericType*



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to