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

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

Daniel Rodriguez 2014-02-07, 20:07
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]
Daniel Rodriguez 2014-02-08, 01:30
Milind Vaidya 2014-02-11, 22:29