You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
public Object get(String key) {
Field field = this.schema.getField(key);
return field == null ? null : this.values[field.pos()];
}
getString method was handling null value and returning null to caller, but in 1.10.X version this function throwing exception org.apache.avro.AvroRuntimeException: Not a valid schema field:. This causing issue as code was not sensitive to schema earlier we treat common reader for all different schema but its failing if we upgrade to latest version of Jar.
Please take a note.
The text was updated successfully, but these errors were encountered:
cowtowncoder
changed the title
Compatibility issue because Schema validation error
(avro) Compatibility issue because Schema validation error
Apr 5, 2021
It would be good to have actual reproduction of code that fails: above snippet (and brief description) does not unfortunately allow for reproducing the problem or verifying possible fix.
In avro 1.9.2 -
getString method was handling null value and returning null to caller, but in 1.10.X version this function throwing exception org.apache.avro.AvroRuntimeException: Not a valid schema field:. This causing issue as code was not sensitive to schema earlier we treat common reader for all different schema but its failing if we upgrade to latest version of Jar.
Please take a note.
The text was updated successfully, but these errors were encountered: