[
https://issues.apache.org/jira/browse/CASSANDRA-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
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 procedures.
> CQL support for counters
> ------------------------
>
> Key: CASSANDRA-2473
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2473
> 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: http://www.atlassian.com/software/jira