Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete-from-metadata-query in metadata mixin #98

Open
hemidactylus opened this issue Sep 11, 2023 · 0 comments
Open

Delete-from-metadata-query in metadata mixin #98

hemidactylus opened this issue Sep 11, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@hemidactylus
Copy link
Collaborator

Utility find_and_delete_entries method to delete items based on a metadata query.

Note: CQL does not support something like DELETE FROM table WHERE metadata['k']='v', i.e. SAI-based and no partition key supplied (and for good reasons).

But for some usages we want to expose such possibility in the metadata mixin of cassio.

Remark by Phil:

I would not be super-concerned about the Cassandra impact tbh…it will simply tombstone the record and compact out after gc_grace. I can’t imagine many vectors will be used in anti-patterns like message queues (rapid create/delete of a record would be a concern).

@hemidactylus hemidactylus added the enhancement New feature or request label Sep 11, 2023
@hemidactylus hemidactylus added this to the Release 0.2 milestone Nov 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant