incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samal <sa...@wakya.in>
Subject Re: CQL + Counters = bad request
Date Wed, 13 Jul 2011 18:40:46 GMT
>
> >>> cqlsh> UPDATE RouterAggWeekly SET 1310367600 = 1310367600 + 17 WHERE
> >>> KEY = '1_20110728_ifoutmulticastpkts';
> >>> Bad Request: line 1:51 no viable alternative at character '+'
>

I m able to insert it.
_______________________

cqlsh>
cqlsh>  UPDATE counts SET 1310367600 = 1310367600 + 17 WHERE KEY =
'1_20110728_ifoutmulticastpkts';
cqlsh>  UPDATE counts SET 1310367600 = 1310367600 + 17 WHERE KEY =
'1_20110728_ifoutmulticastpkts';
cqlsh>
_____________________________
[default@test] list counts;
Using default limit of 100
-------------------
RowKey: 1_20110728_ifoutmulticastpkts
=> (counter=12, value=16)
=> (counter=1310367600, value=34)
-------------------
RowKey: 1
=> (counter=1, value=10)

2 Rows Returned.
[default@test]

Mime
View raw message