Re: various number of records in records

2015-04-13 Thread Lukas Steiblys
The type of "foo" should be an array, not a record. Lukas On Mon, Apr 13, 2015 at 1:35 AM, Marius wrote: > Hi, > > i want to put some data into an avro file, however in my case it doesn't > work... > > { > "name" : "fooList", > "type" : "record", > "fields" : [ > {"name" : "count", "

various number of records in records

2015-04-13 Thread Marius
Hi, i want to put some data into an avro file, however in my case it doesn't work... { "name":"fooList", "type":"record", "fields": [ {"name":"count","type":"int"}, {"name":"foo","type": { "type":"record", "name":"fooData", "fields":[ {"name":"ids","type