cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <>
Subject [jira] [Updated] (CASSANDRA-4173) cqlsh: in cql3 mode, use cql3 quoting when outputting cql
Date Mon, 30 Apr 2012 17:23:48 GMT


paul cannon updated CASSANDRA-4173:

    Attachment: 4173-3.patch.txt

Rebased again on top of cassandra-1.1; I think I mucked something up with the last one. Wouldn't
apply cleanly.

Github branch updated too. New tag:
> cqlsh: in cql3 mode, use cql3 quoting when outputting cql
> ---------------------------------------------------------
>                 Key: CASSANDRA-4173
>                 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: 4173-3.patch.txt
> when cqlsh needs to output a column name or other term which needs quoting (say, if you
run DESCRIBE KEYSPACE and some column name has a space in it), it currently only knows how
to quote in the cql2 way. That is,
> {noformat}
> cqlsh:foo> describe columnfamily bar
>   a int PRIMARY KEY,
>   'b c' text
> ) WITH
> ...
> {noformat}
> cql3 does not recognize single quotes around column names, or columnfamily or keyspace
names either. cqlsh ought to learn how to use double-quotes instead when in cql3 mode.

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