How can I delete 20% of total rows in cassandra using cqlsh -


i trying delete multiple rows in cassandra cqlsh, query not work, ideas?

delete profile key in (select key profile domain = 'personal'); 

cql not allow statements wrote above. need write script performs 1 query in paging manner , executes deletes needed.

basically process be

fetch bunch of rows profile perform filter delete rows passing filter fetch bunch of rows repeat 

for recommend not using cqlsh , work more directly c* driver.


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -