Get a UDT
In cqlsh, the DESCRIBE TYPE
command outputs the full details of a user-defined type (UDT).
Verify that a particular UDT exists and get the definition:
DESCRIBE TYPE cycling.fullname;
The result is the CREATE TYPE
statement for the specified UDT:
CREATE TYPE cycling.fullname (
firstname text,
lastname text
);
You can use the output from the DESCRIBE
command to recreate the UDT.