cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <>
Subject [jira] [Assigned] (CASSANDRA-2473) CQL support for counters
Date Fri, 29 Apr 2011 15:22:03 GMT


Jonathan Ellis reassigned CASSANDRA-2473:

    Assignee: Pavel Yaskevich

IMO the most natural way to express this is to start to allow the syntax

UPDATE foo SET X = X + N WHERE key = K;

(for counter column X)

The alternatives would be to represent it as a procedure call:

SELECT increment(foo, K, X, N);

I don't like that much though, since it's a semantic mismatch (there is no actual function
named increment involved). I'd rather save that for when we actually introduce functions/stored

> CQL support for counters
> ------------------------
>                 Key: CASSANDRA-2473
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: API, Core
>            Reporter: Eric Evans
>            Assignee: Pavel Yaskevich
>             Fix For: 1.0

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message