Joe Karayusuf
08/09/2023, 3:16 PMMap as one of the fields and flink is unable to derive the types. To resolve the issue, I defined a TypeInfoFactory and annotated the class @TypeInfo(classOf[MyNewTypeInfoFactory]) . Unit tests confirmed that the class would now appropriately use the PojoSerializer.
However, when I test deploying and loading from a snapshot, I receive the error:
The new state serializer must not be incompatible with the old state serializer.
Does anyone have suggestions regarding how to debug why the serializers are incompatible? None of the underlying data structures have been modified.
Is it possible to write a unit test for this kind of thing?David Anderson
08/09/2023, 6:42 PMJoe Karayusuf
08/09/2023, 7:25 PMJoe Karayusuf
08/09/2023, 7:46 PMJoe Karayusuf
08/10/2023, 7:06 PMDavid Anderson
08/10/2023, 9:39 PM