You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2013/06/15 17:06:20 UTC
[jira] [Resolved] (CASSANDRA-5641) CQL 2 when use 'ALTER
COLUMNFAMILY/table DROP ' would not delete values
[ 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