Hi,
I have a table like below: CREATE TABLE tab( categoryid text, id text, name text, author text, desc text, PRIMARY KEY (categoryid , id) ) WITH CLUSTERING ORDER BY (id ASC) CREATE INDEX ON tab (name); CREATE INDEX ON tab (author);
When I execute the below queries: select * from tab ALLOW FILTERING;---1 select * from tab where id = 'id01' ALLOW FILTERING;---2 select * from tab where categoryid = 'cid01' ALLOW FILTERING;---3
What is happening in the back end for the three queries?
Is it going to completely neglect the key indices on id and categoryid.
Appreciate the reply. Thanks
--
Olivier Michallat
Driver & tools engineer, DataStax
To unsubscribe from this group and stop receiving emails from it, send an email to java-driver-us...@lists.datastax.com.
Incase I include ALLOW FILTERING in the production code