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

Switch to Threaded View
Avro, mail # user - Avro Python appending data


Copy link to this message
-
Re: Avro Python appending data
Harsh J 2010-12-23, 04:17
Sorry, minor error, not 'wb', but 'ab+'
>
> df_writer = datafile.DataFileWriter(
>                    open(OUTFILE_NAME, 'ab+'),
>                    io.DatumWriter(),
>                )

--
Harsh J
www.harshj.com