Just learning cassandra, is there a way to insert a UUID using CQL, ie
create table stuff (uid uuid primary key, name varchar); insert into stuff (name) valu
Actually there is a way to do that using the blob conversion functions - blobAsType() and typeAsBlob(). In your case this should be:
blobAsType()
typeAsBlob()
insert into stuff (uid, name) values(blobAsUuid(timeuuidAsBlob(now())), 'my name');
This converts timeuuid to blob and from the blob converts it to uuid.
timeuuid
blob
uuid