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

Switch to Threaded View
Avro >> mail # user >> Dynamic Package/namespace naming

Copy link to this message
Re: Dynamic Package/namespace naming
Hi Lewis,

Well, I'm not sure what you're going to gain by isolating each file into
its own namespace.

However, one way you can achieve that is to take the information you want
included from before and then create a hash of it. You can use the hex
representation of the hash to give you something that

* meets Avro's requirements for namespace names
* uniquely identifies each namespace based on experiment, channel, and

If you need the file to also contain the information that went into making
that hash, you can attach it as Avro-ignored metadata on the schema.

On Mon, May 5, 2014 at 6:49 PM, Lewis John Mcgibbney <