Open
Description
I understand that circular schema references (see example below) are supported for avsc schemas, however I was not able to get them working in avdl schemas; they will error when compiled to avsc schemas with the usual 'undefined type name' error, as the declaration order of records in avdl matters.
// this will not compile with avsc
record SampleNode {
int count = 0;
array<SamplePair> samples = [];
}
record SamplePair {
string name;
SampleNode node;
}
Judging from avro's issue tracker, support for circular references landed in v1.9 (source) - is there any way in avsc
lib that supports circular references in avdl today or would avsc
need to upgrade to avro v1.9 specification?
ref: #238