[
https://issues.apache.org/jira/browse/CASSANDRA-3418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149880#comment-13149880
]
Jonathan Ellis commented on CASSANDRA-3418:
-------------------------------------------
bq. It's not related to QueryProcessor tho
But that's the simplest way to add CQL tests I would think? Open to other
ideas.
> Counter decrements require a space around the minus sign but not around the
> plus sign
> -------------------------------------------------------------------------------------
>
> Key: CASSANDRA-3418
> URL: https://issues.apache.org/jira/browse/CASSANDRA-3418
> Project: Cassandra
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.0.0
> Reporter: Kelley Reynolds
> Assignee: Pavel Yaskevich
> Priority: Minor
> Labels: cql
> Fix For: 1.0.3
>
> Attachments: CASSANDRA-3418.patch
>
>
> UPDATE validation_cf_counter SET test=test+1 WHERE id='test_key' => Success
> UPDATE validation_cf_counter SET test=test + 1 WHERE id='test_key' => Success
> UPDATE validation_cf_counter SET test=test - 1 WHERE id='test_key' => Success
> UPDATE validation_cf_counter SET test=test-1 WHERE id='test_key' => Failure
> (line 1:38 no viable alternative at input 'test')
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira