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

Switch to Threaded View
Avro >> mail # dev >> Dynamic Schema

Copy link to this message
Dynamic Schema
I have very dynamic data that i want to write to an avro file. The solution
i have is to store all that data in the memory and then calculate the
schema, and then start the writing.

This causes the files to be smaller in size, because of the memory

What i am looking for is that i will start data as and when it is
collected, but how should i compute the schema in this case? Can i change
the schema for an avro file?