cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yangyi Chen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5751) Columns defined as datatype counter will become 'null' after deletion
Date Fri, 12 Jul 2013 20:57:49 GMT
Yangyi Chen created CASSANDRA-5751:
--------------------------------------

             Summary: Columns defined as datatype counter will become 'null' after deletion
                 Key: CASSANDRA-5751
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5751
             Project: Cassandra
          Issue Type: Bug
          Components: Core
    Affects Versions: 1.2.6, 1.2.4
            Reporter: Yangyi Chen
            Priority: Minor


The following statements should reproduce the problem:

CREATE TABLE ctrtest (a varchar, ctr counter, PRIMARY KEY(a) );
update ctrtest set ctr=ctr+1 where a='a';
delete from ctrtest where a='a';
update ctrtest set ctr=ctr+1 where a='a'; 
select * from ctrtest ;

 a | ctr
---+------
 a | null

--
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