You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2010/11/06 19:10:08 UTC
[jira] Commented: (CASSANDRA-1706) CQL deletes (aka DELETE)
[ https://issues.apache.org/jira/browse/CASSANDRA-1706?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12929125#action_12929125 ]
Jonathan Ellis commented on CASSANDRA-1706:
-------------------------------------------
I think that we should support deleting columns as well as entire rows:
{code:SQL}DELETE <CDL>? FROM <CF> [USING CONSISTENCY.<LVL>] WHERE KEY=<X>|KEY IN <Y>{code}
> CQL deletes (aka DELETE)
> ------------------------
>
> Key: CASSANDRA-1706
> URL: https://issues.apache.org/jira/browse/CASSANDRA-1706
> Project: Cassandra
> Issue Type: Sub-task
> Components: API
> Affects Versions: 0.8
> Reporter: Eric Evans
> Priority: Minor
> Fix For: 0.8
>
> Original Estimate: 0h
> Remaining Estimate: 0h
>
> CQL specification and implementation for data removal.
> This corresponds to the following RPC methods:
> * remove()
> * batch_mutate() (deleting, not updating)
> * truncate() (?)
> My thoughts on the syntax are that it can probably closely mirror a subset of `SELECT':
> {code:SQL}
> DELETE (FROM)? <CF> [USING CONSISTENCY.<LVL>] WHERE <EXPRESSION>
> {code}
> Optionally, you could support a form that makes the `WHERE' clause optional, statements without the clause would be interpreted as a column family truncation.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.