Can't USE numeric keyspace names in CQL
---------------------------------------
Key: CASSANDRA-3350
URL: https://issues.apache.org/jira/browse/CASSANDRA-3350
Project: Cassandra
Issue Type: Bug
Components: Core
Affects Versions: 0.8.0 beta 2
Reporter: paul cannon
Priority: Minor
Cassandra allows keyspace names to start with a digit or an underscore (see
o.a.c.db.migration.Migration.isLegalName), but CQL's {{USE}} statement only
accepts a CQL identifier, which must start with a letter. So there's no way to
use a keyspace named "142" or "_hi_" in CQL, for example.
The {{USE}} statement should accept string literals and integers as well as
identifiers, and CQL identifiers ({{IDENT}}) should probably allow starting
with the underscore.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira