I am creating a cassandra table(columnfamily) and want to confirm how my rows are alligned.
DROP TABLE Message;
CREATE TABLE Message ( category_id varchar , msg_id varchar , msg blob , PRIMARY KEY ( category_id, msg_id ) );
I am expecting the above table to store the 'msg' column in a wide row for identical ?category_id".
Desired table structure:
category1 -> {msgid1: msg} | {msgid2: msg} | {msgid3: msg}
category2-> {msgid1: msg} | {msgid2: msg}
Do I am doing right ? Is there any way I can see in cqlsh to conform storing order ?
Thanks.