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", "
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