Re: enum schema evolution

2023-05-05 Thread Brennan Vincent
https://umanwizard.com/avro.rst Read the section called "Is it always possible to tell, given two schemas, whether they are compatible?". The example in that section uses unions, but your example is similar. The schemas are "compatible" in the sense that it is possible to resolve one against the

Re: enum schema evolution

2023-05-05 Thread KV 59
It works both ways in compatibility Validation. I have used the Avro library for compatibility check SchemaValidator validator = builder.mutualReadStrategy().validateAll(); The SchemaValidator says it is valid with the first schema as reader and second schema as writer and vice versa is valid as

Re: enum schema evolution

2023-05-05 Thread Brennan Vincent
Which one is the writer and which is the reader? Sent from my iPhone > On May 4, 2023, at 22:47, KV 59 wrote: > >  > Hi, > > I see that that java Avro compatibility check doesn't work as per > specification for enum schema evolution. I have a the following schema >> { >> "type" :