incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From julien Campan <julien.cam...@gmail.com>
Subject Alter table drop column seems not working
Date Wed, 03 Apr 2013 14:41:20 GMT
Hi,

I'm working with cassandra 1.2.2.

When I try to drop a column , it's not working.

This is what I tried :

CREATE TABLE cust (
  ise text PRIMARY KEY,
  id_avatar_1 uuid,
  id_avatar_2 uuid,
  id_avatar_3 uuid,
  id_avatar_4 uuid
) ;


cqlsh> ALTER TABLE cust DROP id_avatar_1 ;

==>Bad Request: line 1:17 no viable alternative at input 'DROP'
==>Perhaps you meant to use CQL 2? Try using the -2 option when ==>starting
cqlsh.

Can someone  tell me how to drop a column or if it is a bug ?

Thank

Mime
View raw message