[ 
https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pavel Yaskevich updated CASSANDRA-3208:
---------------------------------------

    Attachment: CASSANDRA-3208.patch

Numberic keyspace names do work for me on the latest cassandra-0.8 branch, the 
only thing what patch does is allows to use quotes in USE command.

Here is the CLI session

{noformat}
[git:cassandra-0.8] (~/work/java/cassandra) → ./bin/cassandra-cli --host 
localhost
Connected to: "Test Cluster" on localhost/9160
Welcome to the Cassandra CLI.

Type 'help;' or '?' for help.
Type 'quit;' or 'exit;' to quit.

[default@unknown] create keyspace 20110914;
afcddc30-e0a3-11e0-0000-242d50cf1ff5
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] use 20110914;
Authenticated to keyspace: 20110914
[default@20110914] use '20110914';
Authenticated to keyspace: 20110914
[default@20110914]
{noformat}

> USE <keyspace> doesn't work for numeric keyspaces
> -------------------------------------------------
>
>                 Key: CASSANDRA-3208
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3208
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Ophir Radnitz
>            Assignee: Pavel Yaskevich
>            Priority: Minor
>              Labels: cli
>             Fix For: 0.8.6
>
>         Attachments: CASSANDRA-3208.patch
>
>
> In the CLI, {code}USE <keyspace>;{code} doesn't work for keyspaces' names 
> that contain only digits.
> The error I'm getting is:
> {{Syntax error at position 4: mismatched input '20110914' expecting 
> Identifier}}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira


Reply via email to