Re: Record names and schema evolution

2019-08-27 Thread Ryan Skraba
I mostly agree! I would be very, very surprised if someone ever wrote code where the correct behaviour relied on *failing* to resolve two schemas because the spec says so! I also think the Java implementation is doing the right and convenient thing. I've typically used new record names for new s

Re: Record names and schema evolution

2019-08-26 Thread Doug Cutting
This may be an example of Postel's Law, where neither the implementation nor the spec are wrong. An implementation is allowed to accept more than the the strictest interpretation of the spec. Within reason, we prefer that folks can read data rather than get an error when trying. (We also want th

Record names and schema evolution

2019-08-26 Thread Ryan Skraba
Hello! I've been going through some code that should be cleaned up if https://issues.apache.org/jira/browse/AVRO-2492 is applied (removing one of the deprecated record schema constructores). In the meantime, I have a question about names in general. I noticed in the spec: https://avro.apache.or