NR
Просто в доке написано
Arrays use the type name "array" and support a single attribute:
items: the schema of the array's items.
https://avro.apache.org/docs/current/spec.html#Arrays
Если делать так
{
"type": "array",
"items": "long"
}
То получаем
No field name: {"type":"array","items":"long"}
Если сделать так{
"type": "array",
"items": {
"name": "ids",
"type": "long"
}
}
То опять же
No field name: {"type":"array","items":{"name":"ids","type":"long"}}
В гугле я посмотрел и не нашел примера"name" : "requiredArray",
"type" : {
"type" : "array",
"items" : "string"
}
}
Примеры:
https://github.com/apache/avro/blob/master/lang/java/avro/src/test/resources/SchemaBuilder.avsc#L142