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
Post a Comment