incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 马超 <hossc...@gmail.com>
Subject Re: Can column type be changed dynamically?
Date Fri, 27 Apr 2012 15:43:53 GMT
Thanks a lot!
I will go ahead~

2012/4/27 Sylvain Lebresne <sylvain@datastax.com>

> 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