cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: how to change compare_with
Date Wed, 02 Feb 2011 23:14:28 GMT
On Wed, Feb 2, 2011 at 3:01 PM, Tyler Hobbs <> wrote:
> I think Jonathan mispoke.

I thought I was mistaken, but I was wrong. :)

> You cannot change the 'compare_with' attribute of an existing column
> family.

You can, but it's up to you to make sure that the new type makes
sense.  Most frequently, you see this when changing from BytesType to
something more structured.

(If you screw up and specify a compare_with that is nonsensical for
your data, just change it back.)

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of DataStax, the source for professional Cassandra support

View raw message