Best way to represent a UUID in Avro? -


i curious understand best practice encoding 1 specific type of data within avro: uuids.

so far, way found defining custom uuid:

{   "namespace" : "your.namespace",   "type" : "fixed",   "name" : "uuid",   "size" : 16 } 

i'm using scala, defined implicit conversion between java.util.uuid , custom uuid, it's not of hassle use it.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -