cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-5641) CQL 2 when use 'ALTER COLUMNFAMILY/table <cf>DROP <column>' would not delete values
Date Sat, 15 Jun 2013 15:06:20 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5641?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jonathan Ellis resolved CASSANDRA-5641.
---------------------------------------

    Resolution: Won't Fix

We are not improving CQL2 anymore; it's only there for backwards compatibility.
                
> CQL 2 when use 'ALTER COLUMNFAMILY/table  <cf>DROP <column>' would not delete
values
> ------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-5641
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5641
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 1.1.9
>         Environment: centos cassandra-1.1.9
>            Reporter: Boole Guo
>              Labels: CQL
>
> cqlsh:testcql> insert into data (key, field0, field1, field2) values ('user1', 'hello',
'ycsb', 'write');
> cqlsh:testcql> select * from data;
>  KEY   | field0 | field1 | field2
> -------+--------+--------+--------
>  user1 |  hello |   ycsb |  write
> cqlsh:testcql> ALTER COLUMNFAMILY data DROP field1;
> cqlsh:testcql> select * from data;
>  KEY   | field0 | field1 | field2
> -------+--------+--------+--------
>  user1 |  hello |   ycsb |  write
> cqlsh:testcql>

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message