Hi,
I know that changing a CF's comparator is not officially supported.
However, there is a post by Jonathan Ellis that implies it can be done
(www.mail-archive.com/user@cassandra.apache.org/msg09502.html).
I assume that we'd have to change entries in the system.schema_* column
families.
H
Christof ,
can't you just use ASSUME for the CQL session?
http://www.datastax.com/docs/1.0/references/cql/ASSUME
Regards,
Roshni
On 03/08/12 2:26 PM, "Christof Roduner" wrote:
>Hi,
>
>I know that changing a CF's comparator is not officially supported.
>However, there is a post by Jonathan
Hi Roshni,
Thanks for your reply. As far as I know, ASSUME is only for cqlsh and
not for CQL in general. (We can of course achieve the same by
programmatically setting the encoding. It would be just simpler to let
the CQL driver take care of it...)
Regards,
Christof
On 8/3/2012 11:31 AM, R
Christof,
Am not convinced you need to change your comparator. Bytestype works for
most sorting even text ones.
Did you mean validator- for a column's value. Comparator is for column
ordering (ORDER BY in sql).
I believe you can just convert the text you want to search for to bytes
and then put i