incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Can column type be changed dynamically?
Date Fri, 27 Apr 2012 15:32:59 GMT
On Fri, Apr 27, 2012 at 5:26 PM, 马超 <hosschao@gmail.com> wrote:
> Hi all,
>
> I want to change one of my column type from IntegerType to Int32Type
> dynamically. I'm sure all datas in that column are int32 type indeed. So I
> want changing the column type by:
>
> update column family XXX with column_metadata = [{column_name : 'xxx',
> validation_class : Int32Type}];
>
> Is there any harm to do this?

There isn't (as long as you're right to be sure of course).

--
Sylvain

Mime
View raw message