avi-sanwal commented on code in PR #28161:
URL: https://github.com/apache/flink/pull/28161#discussion_r3263403085
##########
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/typeutils/AvroSerializer.java:
##########
@@ -325,6 +330,30 @@ private void initializeAvro() {
this.avroData = factory.getAvroData();
}
+ private T resolveGenericRecord(T value) throws IOException {
Review Comment:
Thanks, addressed in 85bd596278e. I added a short method comment clarifying
that this handles GenericRecord values restored during state migration that
still carry the previous schema, before the writer indexes fields by position.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]