On Mon, 14 Aug 2023 at 14:11, Ryan Skraba <[email protected]> wrote: > I think the right thing to do is [to] use a system > property / schema aliases to help people migrate back to the correct > behaviour. If you are actually using Avro/Protobuf together, you > might be the best person to help us figure out the right was to do > this migration! >
The idea that aliases can be used to evolve a schema with invalid names to a schema with valid names is a sensible one, and currently hidden in the schema resolution rules in the specification. I've added AVRO-3833 <https://issues.apache.org/jira/browse/AVRO-3833> (with PR <https://github.com/apache/avro/pull/2448>) because I wanted to clarify that names must be unique (because otherwise schema resolution cannot work), and that this includes aliases. The change also includes this migration/fix option. Kind regards, Oscar -- ✉️ Oscar Westra van Holthe - Kind <[email protected]>
