简体   繁体   中英

Cassandra: How to delete UUIDs from the CLI?

Currently I'm using a client ( Pelops ) to insert UUIDs (both lexical and time) in to Cassandra. I haven't yet implemented a facility to remove them with Pelops; i'm testing and refining the insertion mechanism.

As such, I would like to use the CLI to delete test UUID values. It seems, however, that I'm unable to delete UUID rowkeys and columns with the del command. Is there something I'm missing? I have to use assume as to list the rows in column families with UUID row keys, but deleting the displayed row keys does not delete the entries.

I can view columns with UUID values without assume as (provided they're not contained in rows with UUID keys), but I am unable to delete them from the CLI as well. Is it not possible to do this from the CLI, or is there something I'm overlooking?

As I answered on the mailing list, you need to upgrade to 0.8 to deal with non-string keys using the CLI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM