Closed clairemcginty closed 3 months ago
See linked issue; AvroSchemaConverter references Avro classes and methods that don't exist before Avro 1.10
Performs an Avro version check to silo references to local timestamp classes.
I've tested them locally on one of my projects using Avro 1.8... unfortunately there isn't a great way to unit-test this :/
This should preserve the existing behavior for Avro 1.8 users while unlocking the new LocalTimestamp types for 1.10+ users.
Closes #2992
cc @RustedBones , can you take a look at this fix as well?
Rationale for this change
See linked issue; AvroSchemaConverter references Avro classes and methods that don't exist before Avro 1.10
What changes are included in this PR?
Performs an Avro version check to silo references to local timestamp classes.
Are these changes tested?
I've tested them locally on one of my projects using Avro 1.8... unfortunately there isn't a great way to unit-test this :/
Are there any user-facing changes?
This should preserve the existing behavior for Avro 1.8 users while unlocking the new LocalTimestamp types for 1.10+ users.
Closes #2992