avro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Scott Carey <sc...@richrelevance.com>
Subject Re: runtime error when casting Array<String> to String[]
Date Wed, 27 Apr 2011 18:18:49 GMT
I am working on tools for Avro that will make Alternate object mappings
easier.  I hope this will land in 1.6.0.  Custom specific compiled
variants will more easily leverage all the work unrelated to object type
mapping.

On 4/27/11 11:06 AM, "Markus Weimer" <weimer@yahoo-inc.com> wrote:

>
>whenever you ask for an "array" in the schema, the avro specific compiler
>gives you a java.util.List, which cannot be cast to a Java array. I'm
>personally pretty interested in a way around this, as my data usually
>consists of primitive type arrays, where the overhead for a Object
>Collection can be prohibitive.
>
>Take care,
>
>Markus


Mime
View raw message