Skip to content
Advertisement

Nested arrays in Avro

I would like to store two-dimensional arrays of numbers in Avro. I have tried the following:

JavaScript

But when I tried to read it with the parser:

JavaScript

I get the following error:

JavaScript

Advertisement

Answer

It looks like you have one too many type keys.

You schema should be this instead:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement