cassandra-commits mailing list archives

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

    [ 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

Mime
View raw message