You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Benjamin Lerer (JIRA)" <ji...@apache.org> on 2017/02/20 10:31:44 UTC
[jira] [Resolved] (CASSANDRA-13203) UPDATE USING TIMESTAMP can
surprisingly append to a list column instead of replace
[ https://issues.apache.org/jira/browse/CASSANDRA-13203?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Lerer resolved CASSANDRA-13203.
----------------------------------------
Resolution: Won't Fix
> 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
> Assignee: Benjamin Lerer
> 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)