Can you append data to an existing Avro data file? -



Can you append data to an existing Avro data file? -

it seems there isn't way append info existing avro serialized file. i'd have multiple processes writing single avro file, looks each time open it, start on scratch. don't want read in info , write out again.

using ruby illustration code have tried "ab" , "ab+" various settings, no joy.

file = file.open('data.avr', 'wb') schema = avro::schema.parse(schema) author = avro::io::datumwriter.new(schema) dw = avro::datafile::writer.new(file, writer, schema) dw << {"username" => "john", "age" => 25, "verified" => true} dw << {"username" => "ryan", "age" => 23, "verified" => false} dw.close

don't pass schema append file

avro

Comments

Popular posts from this blog

delphi - blogger via idHTTP : error 400 bad request -

c++ - compiler errors when initializing EXPECT_CALL with function which has program_options::variables_map as parameter -

How do I check if an insert was successful with MySQLdb in Python? -