Re: CQL3 and counters

2013-03-01 Thread Edward Capriolo
Don't delete them either! On Friday, March 1, 2013, Alain RODRIGUEZ wrote: > "DO *NOT* USE THAT!!!" > > Crystal clear ;-). Thanks for the warning. > > Alain > > 2013/3/1 Sylvain Lebresne >>> >>> On C* 1.2.1 I see that the following query works: >>> >>>update counters set value=value+5 where o

Re: CQL3 and counters

2013-03-01 Thread Alain RODRIGUEZ
"DO *NOT* USE THAT!!!" Crystal clear ;-). Thanks for the warning. Alain 2013/3/1 Sylvain Lebresne > On C* 1.2.1 I see that the following query works: >> >>update counters set value=value+5 where owner_id='1' and >> counter_type='trash'; >> >> ...while the following one gives an error (Ba

Re: CQL3 and counters

2013-03-01 Thread Sylvain Lebresne
> > On C* 1.2.1 I see that the following query works: > >update counters set value=value+5 where owner_id='1' and > counter_type='trash'; > > ...while the following one gives an error (Bad Request: Invalid > non-counter operation on counter table): > >update counters set value=5 where owner