[
https://issues.apache.org/jira/browse/CASSANDRA-8123?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14172434#comment-14172434
]
Jorge Bay commented on CASSANDRA-8123:
--------------------------------------
I understand what is causing it, but I think the behavior is unexpected: from
an api perspective, the operation is to set the value to a new value.
If the values are different with the same timestamp, any of the values should
"win" but not append (appending is like doing a sum of 2 values in a
single-value column, in the same situation).
> List appends when inserting in the same value
> ---------------------------------------------
>
> Key: CASSANDRA-8123
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8123
> Project: Cassandra
> Issue Type: Bug
> Environment: C* 2.1.0 and C* 2.0.10
> Reporter: Jorge Bay
> Priority: Minor
>
> List append when inserting in the same value
> I'm getting list appends when executing multiple times concurrently an INSERT
> (or update) of a list column value on the same partition:
> "INSERT INTO cf1 VALUES (id, list_sample) VALUES (id1, ['one', 'two']);"
> It could result into a list with the values appended: ['one', 'two', 'one',
> 'two', ...]
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)