[FLINK-39283][Formats/avro] Upgrade org.apache.avro:avro to 1.12.1#27806
[FLINK-39283][Formats/avro] Upgrade org.apache.avro:avro to 1.12.1#27806snuyanzin wants to merge 1 commit intoapache:masterfrom
org.apache.avro:avro to 1.12.1#27806Conversation
|
One thing to consider with this upgrade — Avro 1.12.1 enables fastReaderEnabled=true by default in GenericDatumReader/ In Flink, AvroDeserializationSchema.deserialize() calls datumReader.setSchema(readerSchema) on every record. With the This is discussed in detail in #27499 (FLINK-39005). It would be worth studying the impact before merging — either benchmarking the current setSchema-per-record path with fastReaderEnabled=true, or explicitly setting fastReaderEnabled=false until the redundant setSchema() call is addressed. |
What is the purpose of the change
as mentioned source (https://avro.apache.org/blog/2025/10/16/avro-1.12.1/)
Brief change log
pom and NOTICE files
Verifying this change
existing tests
Does this pull request potentially affect one of the following parts:
@Public(Evolving): ( no)Documentation