After I update the column type:

update column family User with column_metadata = [{column_name : 77, validation_class : Int32Type}];

I can't list the data in User column family:

list User;

RowKey: 1234
A int is exactly 4 bytes: 2

Any ideas for this?

Thanks,

2012/4/27 <hosschao@gmail.com>
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