On 7 Apr 2010, at 21:24, Bruce Mitchener wrote:

> Is this useful to you?
> 
> http://code.google.com/p/thrift-protobuf-compare/source/browse/trunk/tpc/src/serializers/avro/AvroGenericSerializer.java

Is the idea that I can pass null as the schema? I did try that and it blows up:

Exception in thread "main" org.apache.avro.AvroRuntimeException: Not an array 
schema: null
        at org.apache.avro.generic.GenericData$Array.<init>(GenericData.java:93)
        at com.twitter.avrotest.AvroFoo.<init>(AvroTest.scala:15)

How did you get that to work? :) Is this maybe a recent change in avro? (I'm 
using 1.3.1.)

robey

Reply via email to