Hi,For Java, there is a SchemaCompatibility class that tells if two schemas are compatible in the reader/writer sense.
A while back, I noted some issues, and evolved this class a bit, making it a bit more user friendly.
There are still some issues, particularly with float unions, but if you stay away from floats (instead preferring double precision arithmetics), things should work smooth, also with my patches.
It would be nice to get the patches into Avro-trunk, though, but I am new here, so I do not know which string to pull :-)
https://issues.apache.org/jira/browse/AVRO-1931 https://issues.apache.org/jira/browse/AVRO-1933 Tot horens, /Anders On 2016-11-25 14:04, Niels Basjes wrote:
Hi, I have been looking but I have not been able to find a tool that simply tells me if a schema and evolve into another schema. I want to create a test in my application that simply checks (unit test) if the current schema can be used in conjuction with an older schema or if we will have problems in production. Do we have such a check somewhere (in the code base)?
smime.p7s
Description: S/MIME Cryptographic Signature
