craig mcmillan created CASSANDRA-13203:
------------------------------------------

             Summary: UPDATE USING TIMESTAMP can surprisingly append to a list 
column instead of replace
                 Key: CASSANDRA-13203
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13203
             Project: Cassandra
          Issue Type: Bug
          Components: Core
            Reporter: craig mcmillan
            Priority: Minor


{code}
create table stufflist (id uuid primary key , stuff list<text>);

insert into stufflist (id, stuff) values (75a01c40-eed9-11e6-930a-939ae9ea5575, 
['one']) using timestamp 1000;

update stufflist using timestamp 1000 set stuff=['one'] where 
id=75a01c40-eed9-11e6-930a-939ae9ea5575;

select * from stufflist;

 id                                   | stuff
--------------------------------------+----------------
 75a01c40-eed9-11e6-930a-939ae9ea5575 | ['one', 'one']
{code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to