Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # user >> Modeling Common Fields?

Copy link to this message
Re: Modeling Common Fields?
This might be handled using GenericData.  You'd specify no reader
schema when you create your GenericDatumReader so the in-memory data
is represented using the same schema it was written with.  Then use
GenericRecord#put & get to access the fields you require.


Might that work?

On Tue, Feb 25, 2014 at 4:10 PM, Matan Amir <[EMAIL PROTECTED]> wrote: