cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tyler Hobbs (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-7094) cqlsh: DESCRIBE is not case-insensitive
Date Wed, 04 Mar 2015 22:28:39 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-7094?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14347691#comment-14347691
] 

Tyler Hobbs commented on CASSANDRA-7094:
----------------------------------------

Ah, thanks for checking that out.  I had assumed it was broken in 2.1 as well.  I think it's
probably best to leave the 2.0 behavior as-is at this point.

> cqlsh: DESCRIBE is not case-insensitive
> ---------------------------------------
>
>                 Key: CASSANDRA-7094
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-7094
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Tools
>         Environment: cassandra 1.2.16
>            Reporter: Karl Mueller
>            Assignee: Philip Thompson
>            Priority: Trivial
>              Labels: cqlsh
>             Fix For: 3.0, 2.1.4
>
>
> Keyspaces which are named starting with capital letters (and perhaps other things) sometimes
require double quotes and sometimes do not.
> For example, describe works without quotes:
> cqlsh> describe keyspace ProductGenomeLocal;
> CREATE KEYSPACE "ProductGenomeLocal" WITH replication = {
>   'class': 'SimpleStrategy',
>   'replication_factor': '3'
> };
> USE "ProductGenomeLocal";
> [...]
> But use will not:
> cqlsh> use ProductGenomeLocal;
> Bad Request: Keyspace 'productgenomelocal' does not exist
> It seems that qoutes should only really be necessary when there's spaces or other symbols
that need to be quoted. 
> At the least, the acceptance or failures of quotes should be consistent.
> Other minor annoyance: tab expansion works in use and describe with quotes, but will
not work in either without quotes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message