Reputation: 1822
I'm trying to define a less-than-trivial Avro schema with little success; when it won't throw schema syntax errors it will not produce all the types I'm trying to define in the schema.
Is there a complete specification of the possible contents of an avsc definition? I keep guessing from what I understand from the Doc spec but evidently it's not enough.
Best,
Edoardo
Upvotes: 3
Views: 1945
Reputation: 1822
I think I found it...
According this ML thread protocols can define multiple cross-referencing object types. Keeping this cue in mind the documentation does appear to say that an avsc (schema) can only contain one type definition.
Upvotes: 1