incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: DELETE query failing in CQL 3.0
Date Sun, 21 Oct 2012 23:53:21 GMT
Can you paste the table definition ? 

Thanks

-----------------
Aaron Morton
Freelance Developer
@aaronmorton
http://www.thelastpickle.com

On 20/10/2012, at 5:53 AM, "Ryabin, Thomas" <Thomas.Ryabin@McKesson.com> wrote:

> I have a column family called “books”, and am trying to delete all rows where the
“title” column is equal to “hatchet”. This is the query I am using:
>     DELETE FROM books WHERE title = ‘hatchet’;
>  
> This query is failing with this error:
>     Bad Request: PRIMARY KEY part title found in SET part
>  
> I am using Cassandra 1.1 and CQL 3.0. What could be the problem?
>  
> -Thomas


Mime
View raw message