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

Switch to Threaded View
Avro >> mail # user >> Schema not getting saved along with Data

Copy link to this message
Re: Schema not getting saved along with Data
Hi Again,
Slight update on one of my previous answers. Please see below.

On Wed, Mar 26, 2014 at 9:55 AM, Lewis John Mcgibbney <

permanently included in the generated data bean. This way you know the
Schema when you read your data. You can see an example here


public static final org.apache.avro.Schema SCHEMA$ = new
blah blah blah

i would therefore question a justification as to why you _need_ to store
the Schema with the data. Gora enables you to _almost_ forget about complex
mappings and underlying data modeling. We want to make it easy for people
to persist their data into a whole variety of underlying NoSQL stores. As a
data serialization library Avro seems to be working well for us in this
respect at this point in time.