cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: CQL DELETE statement
Date Mon, 18 Apr 2011 00:49:00 GMT
You are correct, but this is also a limitation with the Thrift API -- it's
not CQL specific.  It turns out that deleting a slice of columns is
difficult.  There's an old JIRA ticket somewhere that describes the issues.

On Sun, Apr 17, 2011 at 7:45 PM, Courtney Robinson <sabco@live.co.uk> wrote:

>   Looking at the CQL spec, it doesn’t seem to be possible to delete a
> range of columns for a given key without specifying the individual columns
> to be removed, for e.g.
> DELETE col1 .. col20 from CF WHERE KEY=<key|(key1,key2)>
> Am I correct in thinking so or have I missed that somewhere?
>
>



-- 
Tyler Hobbs
Software Engineer, DataStax <http://datastax.com/>
Maintainer of the pycassa <http://github.com/pycassa/pycassa> Cassandra
Python client library

Mime
View raw message