You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Boole Guo (JIRA)" <ji...@apache.org> on 2013/06/15 07:01:20 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13684075#comment-13684075 ] 

Boole Guo commented on CASSANDRA-5641:
--------------------------------------

But when use cql 3, this problem do not exist.
                
> 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