Here is the custom UDT I created in cassandra, But I'm not able to frame correct insert query for the UDT.
CREATE TYPE IF NOT EXISTS three ( a text, b text );
CREATE TYPE IF NOT EXISTS two ( c text, d frozen < list< frozen < three > > > );
CREATE TABLE IF NOT EXISTS one ( id text PRIMARY KEY, main frozen < two > );
the following insert query is giving column type incompatible error in datastax dev centerinsert into one (id, main) values ('something',
[
{
'c' : 'something',
'three': [{'a':'something', 'b': 'something'}]
}
]);