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] [Commented] (CASSANDRA-6237) Allow range deletions in CQL
Date Mon, 13 Jul 2015 15:02:06 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6237?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14624753#comment-14624753
] 

Benjamin Lerer commented on CASSANDRA-6237:
-------------------------------------------

The new branch for the patch is [here|https://github.com/apache/cassandra/compare/trunk...blerer:6237-trunk].

The unit tests results are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-6237-trunk-testall/lastCompletedBuild/testReport/]
The DTests results are [here|http://cassci.datastax.com/view/Dev/view/blerer/job/blerer-6237-trunk-dtest/lastCompletedBuild/testReport/]

[~mambocab] I added some unit tests for batchs and conditional update/delete. They cover what
your DTests were testing. 

> Allow range deletions in CQL
> ----------------------------
>
>                 Key: CASSANDRA-6237
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6237
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Sylvain Lebresne
>            Assignee: Benjamin Lerer
>            Priority: Minor
>              Labels: cql, docs
>             Fix For: 3.0.0 rc1
>
>         Attachments: CASSANDRA-6237.txt
>
>
> We uses RangeTombstones internally in a number of places, but we could expose more directly
too. Typically, given a table like:
> {noformat}
> CREATE TABLE events (
>     id text,
>     created_at timestamp,
>     content text,
>     PRIMARY KEY (id, created_at)
> )
> {noformat}
> we could allow queries like:
> {noformat}
> DELETE FROM events WHERE id='someEvent' AND created_at < 'Jan 3, 2013';
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message