I had created a UDT as follows:
CREATE TYPE killrvideo.video_encoding ( bit_rates set<text>, encoding text, height int, width int );
created table as follows:
CREATE TABLE test( name text PRIMARY KEY, mydata frozen<video_encoding> );
trying to insert data:
INSERT INTO test (name, mydata) VALUES ('srini',"{ {'data', 'ssssecond'}, 'tttttest', 23, 444}");
Getting error as:
SyntaxException: line 1:98 no viable alternative at input ')' (...name, mydata) values('srini',["{ {'data', 'ssssecond'}, 'tttttest', 23, 444]}")...)
Please assist me on this issue