cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-7747) CQL token(id) does not work in DELETE statements
Date Thu, 16 Oct 2014 16:54:34 GMT


Tyler Hobbs commented on CASSANDRA-7747:


> CQL token(id) does not work in DELETE statements
> ------------------------------------------------
>                 Key: CASSANDRA-7747
>                 URL:
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: CQL on CentOS 7 and Arch Linux, Cassandra 2.0.9
>            Reporter: Taylor Gronka
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 2.0.11
>         Attachments: 7747.txt
> When I try to delete a row by the token of the primary key, this happens:
> cqlsh> delete from keyspace.table where token(id) = 0x478e5222f7484a5596344392e4451d59;
> Bad Request: Invalid HEX constant (0x478e5222f7484a5596344392e4451d59) for id of type
> I'm using a blob-type because my data is highly organized, so I'm running a ByteOrderedPartitioner.
This isn't a major issue, but it will save me a bit of coding hassle and cpu cycles to not
be converting in and out of uuid's.
> Also, I find it curious that the ByteOrderedPartitioner stores values as blob, but returns
them as uuid - although I imagine this discussion took place long before I got here. Might
there be a way to set Cassandra to deal solely with blobs? Or at least to return a uuid as

This message was sent by Atlassian JIRA

View raw message