cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Turner (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2473) CQL support for counters
Date Wed, 13 Jul 2011 18:47:00 GMT

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

Aaron Turner commented on CASSANDRA-2473:
-----------------------------------------

cqlsh> CREATE COLUMNFAMILY Test (KEY varchar PRIMARY KEY) WITH default_validation = CounterColumnType
and  comparator = AsciiType;

cqlsh> UPDATE Test SET TestCol = TestCol + 17 WHERE KEY = 'MyKey';
Bad Request: line 1:34 no viable alternative at character '+'

cqlsh> UPDATE Test SET 'TestCol' = 'TestCol' + 17 WHERE KEY = 'MyKey';
Bad Request: line 1:38 no viable alternative at character '+'

> 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: 0.8.1
>
>         Attachments: CASSANDRA-2473-0.8.patch, CASSANDRA-2473-v2.patch, CASSANDRA-2473.patch
>
>


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

        

Mime
View raw message