RE: How do I make an ATTRIBUTE column a UUID with Splice Machine as my source?
SPLICE MACHINE SOURCE: In my data flow I want to make an attribute column a UUID (For example: 87c312f0-4a49-45d9-aa65-bb6921cb1833). How can I accomplish this?
Hi Kaley,
Splice machine does not provide a UUID SQL function. However it should be possible to create a UDF and use that in Diyotta. Add the UDF in Diyotta and use it source attributes. Sample to use UDF in Diyotta is below.
Reference for UDF to generate UUID – https://www.splicemachine.com/subdomains/apidocs/JavaDocs/2.5/com/splicemachine/uuid/Type1UUID.Generator.html
Kaley,
As mentioned in my response, the example provided was only a sample. You would have to create the UDF first and place it in the hdfs in your environment. This UDF should then be registered in Diyotta and used in the splice machine source.