cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Lerer (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-13203) UPDATE USING TIMESTAMP can surprisingly append to a list column instead of replace
Date Mon, 20 Feb 2017 10:31:44 GMT

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

Mime
View raw message