cassandra - how to perform "not in" filter in cql3 query select? -


i need fetch rows without specific keys. sample:

 select * users user_id not in ("mikko"); 

i have tried "not in" , response:

bad request: line 1:35 no viable alternative @ input 'not' 

"not in" not supported operation in cql. cassandra @ heart still based on key indexed rows. query same "select * users", have go through every row , figure out if not match in. if want type of query want setup map reduce job perform it.

when using cassandra want de-normalize data model queries application performs end querying single partition (or few partitions) results.

also find great webinars , talks on cassandra data modeling


Comments

Popular posts from this blog

Unable to remove the www from url on https using .htaccess -