Hi,

I have a doubt about how I can use schema evolution with Avro. I was testing
the schema resolution with Avro and I have a writer schema and a reader
schema (which is slight modified version of writer schema, one field
deleted).
While reading the data using the reader schema, can't I use the
SpecificDatumReader<MyAvroGeneratedClass> for reading the data?

I am able to sucessfully read the data using GenericDatum Reader, but it
woud be great if I can read it using SpecificDatumReader. My Schema is  long
with quite a few fields and using GenericDatumReader would force me to
populate all the fields myself after reading the GenericRecord. So I wanted
to find out if there was a way to use SpecificDatumReader.

Thanks
Rohini

Reply via email to