davidradl commented on code in PR #28715:
URL: https://github.com/apache/flink/pull/28715#discussion_r3571123124
##########
flink-formats/flink-avro/src/main/java/org/apache/flink/formats/avro/AvroDeserializationSchema.java:
##########
@@ -164,6 +165,12 @@ AvroEncoding getEncoding() {
return encoding;
}
+ void resetDecoder() throws IOException {
+ if (encoding == AvroEncoding.BINARY) {
Review Comment:
this looks like a great catch and one to get fixed. I am curious whether
this scenario can be hit in the base avro format itself - if so could we fix it
there?
--
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]