I am pretty new to cassandra, so pardon me if this turns out to be a silly question.
I have a table structure as below
CREATE TABLE data_points (
id text PRIMARY KEY,
created_at timestamp,
previous_event_id varchar,
properties map<text,text>
);
I wanted to know, whether I can execute a query which gives matching records from the map type fields.
For instance, if I insert values in the table as below
INSERT INTO datapoints (id, properties) VALUES ('1', { 'fruit' : 'apple', 'band' : 'Beatles' });
Will I be able to fetch it as
SELECT * from data_points WHERE properties.band='Beatles';
Please Help.