cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4198) cqlsh: update recognized syntax for cql3
Date Fri, 18 May 2012 01:30:08 GMT


paul cannon updated CASSANDRA-4198:

    Attachment: 4198.patch.txt

This fairly hefty patch does some refactoring in cqlsh to allow everything to use the right
sort of quoting in the right places, and to handle parsing in both modes with good modular

Defines cql3 syntax so that it can be properly recognized and completed.

It might be worth holding off on a review for just a bit until I can finish the test suite
in CASSANDRA-3920, so that the reviewer doesn't need to take in all the changes at once.

These changes are also split into much smaller, more individually understandable commits in
the 4198 branch in my github:

Current version tagged pending/4198.
> cqlsh: update recognized syntax for cql3
> ----------------------------------------
>                 Key: CASSANDRA-4198
>                 URL:
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: Tools
>    Affects Versions: 1.1.0
>            Reporter: paul cannon
>            Assignee: paul cannon
>            Priority: Minor
>              Labels: cql3, cqlsh
>             Fix For: 1.1.1
>         Attachments: 4198.patch.txt
> cqlsh should recognize cql3 syntax when in cql3 mode; this includes tab completing proper
syntax and properly quoting any terms in single- or double-quotes (current version only knows
how to use single quotes).
> also, prefer using the term "TABLE" over "COLUMNFAMILY" wherever one of those is generated
from cqlsh (like in DESCRIBE output).
> and if it's not too bad, it would help to have the online help strings reflect cql3 syntax
(maybe with a nod to cql2 restrictions where appropriate).

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message