You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by Bart Molenkamp <b....@bizzdesign.com> on 2018/01/03 12:32:46 UTC
AVRO-2122: Cannot validate schemas with recursive definitions
Hello,
I just created issue AVRO-2122. We use Confluent's schema registry, and we ran into this issue when we use schemas with recursive definitions. We figured out the problem was introduced when AVRO-1883 was fixed. The exact changes can be found here: https://github.com/apache/avro/commit/968550da18708c76fd04c13722d996461aa23cb7#diff-007f609db41f310bcdbe2235e71f08dd.
I have created a simple test case which reproduces the problem, and I also have a fix (I simply track the set of symbols that I already visited in Symbol.hasError()). This seems to fix the problem.
Is there someone willing to have a look at my changes? And what would be the best way to do so? Should I add a patch, or is it more convenient if I create a fork on Github?
What can I further do to get this issue resolved?
Thanks in advance!
Kind regards,
Bart.