I am trying to have a data that will output class and teachers as below:
CLASS A: John
CLASS B: Jane
CLASS C: Stan
This is my CQLSH:
CREATE TABLE subjects(
name TEXT,
class_and_teachers SET<FROZEN MAP<TEXT, TEXT>>,
);
However, I got the error
no viable alternative at input 'MAP' (... name TEXT, class_and_teachers SET<[FROZEN] MAP...)
Is there something wrong?