twalthr commented on a change in pull request #12103:
URL: https://github.com/apache/flink/pull/12103#discussion_r426245240



##########
File path: 
flink-core/src/main/java/org/apache/flink/api/java/typeutils/RowTypeInfo.java
##########
@@ -286,6 +286,21 @@ public String toString() {
                return bld.toString();
        }
 
+       /**
+        * Creates a serializer for the old {@link Row} format before Flink 
1.11.
+        *
+        * <p>The serialization format has changed from 1.10 to 1.11 and added 
{@link Row#getKind()}.
+        */
+       @Deprecated
+       public TypeSerializer<Row> createLegacySerializer(ExecutionConfig 
config) {

Review comment:
       This method is just an easy API for backwards compatibility. FLINK-17520 
should do this automatically, but some users might have declared row 
serializers manually for state.




----------------------------------------------------------------
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