cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aaron morton <aa...@thelastpickle.com>
Subject Re: rename column family
Date Mon, 02 Jan 2012 10:07:53 GMT
Renaming a CF is not directly supported. 

You can:
1) Add the new CF using the CLI or CQL
2) On each node copy the SSTable files and use the new CF name. 
3) Drop the old CF using the CLI or CQL
4) The Drop CF command will create a snapshot, you may want to delete this. 

Hope that helps. 

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

On 31/12/2011, at 8:42 AM, Jim Newsham wrote:

> 
> How can I rename a column family (if version matters, I'm interested in both 0.8.x and
1.0.x).
> 
> Thanks,
> Jim
> 


Mime
View raw message