On 9 Apr 2010, at 17:03, Scott Carey wrote:

> The schema required by new GenericData.Array is the schema of the array, not 
> the schema of its elements.  
> 
> Try:
> Schema.createArray(YOUR_ELEMENT_SCHEMA_HERE).

I see from Doug's email that the schema is required now, but it's pretty 
annoying to fetch. Maybe we should add a type of Array that implements the avro 
array interface but doesn't require a schema? Would such a patch be welcome? :)

I'm pushing on this because if you look at my sample code, it's by far the 
ugliest part of assembling a reply.

robey

Reply via email to