You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Pavel Yaskevich (JIRA)" <ji...@apache.org> on 2011/04/27 18:37:03 UTC

[jira] [Updated] (CASSANDRA-2555) Explicit timestamp support for CQL

     [ https://issues.apache.org/jira/browse/CASSANDRA-2555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Yaskevich updated CASSANDRA-2555:
---------------------------------------

    Attachment: CASSANDRA-2555.patch

USING statement changed to support TIMESTAMP in the following manner for statements INSERT, UPDATE and BATCH:

{noformat>
USING CONSISTENCY <LEVEL> AND TIMESTAMP <NUMBER>

USING TIMESTAMP <NUMBER> AND CONSISTENCY <LEVEL>

USING TIMESTAMP <NUMBER>

USING CONSISTENCY <LEVEL>
{noformat}

CQL.textile is updated + 3 tests added

> Explicit timestamp support for CQL
> ----------------------------------
>
>                 Key: CASSANDRA-2555
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2555
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Pavel Yaskevich
>             Fix For: 0.8.1
>
>         Attachments: CASSANDRA-2555.patch
>
>
> To make CQL BATCHes useful for the normal purpose of idempotent retries, we need to add  support for client-supplied timestamps.  At a minimum this needs to be available for a batch (BEGIN BATCH USING TIMESTAMP 1303743619771318) but might also be nice at the statement level (UPDATE ... USING TIMESTAMP ...).

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira