You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Ophir Radnitz (JIRA)" <ji...@apache.org> on 2011/09/14 23:04:13 UTC
[jira] [Created] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
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
Affects Versions: 0.8.4
Reporter: Ophir Radnitz
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
[jira] [Updated] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-3208:
--------------------------------------
Priority: Minor (was: Major)
Affects Version/s: (was: 0.8.4)
Fix Version/s: 0.8.6
Assignee: Pavel Yaskevich
> 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
>
>
> 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
[jira] [Commented] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13104961#comment-13104961 ]
Jonathan Ellis commented on CASSANDRA-3208:
-------------------------------------------
Did you try quoting the KS name?
> 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
> Affects Versions: 0.8.4
> Reporter: Ophir Radnitz
> Labels: cli
>
> 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
[jira] [Commented] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Hudson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106866#comment-13106866 ]
Hudson commented on CASSANDRA-3208:
-----------------------------------
Integrated in Cassandra-0.8 #333 (See [https://builds.apache.org/job/Cassandra-0.8/333/])
Allow using quotes in "USE <keyspace>;" CLI command
patch by Pavel Yaskevich; reviewed by Jonathan Ellis for CASSANDRA-3208
xedin : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1171792
Files :
* /cassandra/branches/cassandra-0.8/CHANGES.txt
* /cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java
> 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.7
>
> 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
[jira] [Commented] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Ophir Radnitz (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105941#comment-13105941 ]
Ophir Radnitz commented on CASSANDRA-3208:
------------------------------------------
Quoting (neither single nor double quotes) didn't help.
> 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
> Affects Versions: 0.8.4
> Reporter: Ophir Radnitz
> Labels: cli
>
> 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
[jira] [Updated] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Pavel Yaskevich (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (CASSANDRA-3208) USE doesn't work for
numeric keyspaces
Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CASSANDRA-3208?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13106817#comment-13106817 ]
Jonathan Ellis commented on CASSANDRA-3208:
-------------------------------------------
+1
> 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