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

Switch to Threaded View
Avro >> mail # user >> Create Avro from bytes, not by fields

Copy link to this message
Re: Create Avro from bytes, not by fields
You might use DataFileWriter#appendEncoded:


If the body has just single instance of the record then you'd call this
once.  If you have multiple instances then you might change the body to
have the schema {"type":"array", "items", "bytes"}.

On Fri, Feb 7, 2014 at 12:06 PM, Daniel Rodriguez <[EMAIL PROTECTED]