Jiayi-Liao commented on a change in pull request #10068:
URL: https://github.com/apache/flink/pull/10068#discussion_r422127101



##########
File path: 
flink-table/flink-table-runtime-blink/src/main/java/org/apache/flink/table/runtime/typeutils/BinaryGenericSerializer.java
##########
@@ -127,63 +133,41 @@ public int hashCode() {
 
        @Override
        public TypeSerializerSnapshot<BinaryGeneric<T>> snapshotConfiguration() 
{
-               return new BinaryGenericSerializerSnapshot<>(serializer);
+               return new BinaryGenericSerializerSnapshot<>(this);
+       }
+
+       public TypeSerializer<T> getInnerSerializer() {
+               return serializer;
        }
 
        /**
         * {@link TypeSerializerSnapshot} for {@link BinaryGenericSerializer}.
         */
-       public static final class BinaryGenericSerializerSnapshot<T> implements 
TypeSerializerSnapshot<BinaryGeneric<T>> {
-               private static final int CURRENT_VERSION = 3;
-
-               private TypeSerializer<T> previousSerializer;
+       public static final class BinaryGenericSerializerSnapshot<T> extends 
CompositeTypeSerializerSnapshot<BinaryGeneric<T>, BinaryGenericSerializer<T>> {

Review comment:
       Since the type of snapshot is changed, is this a break change to 
existing checkpoint?




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to