[ https://issues.apache.org/jira/browse/CASSANDRA-3350?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13125810#comment-13125810 ]
Jonathan Ellis commented on CASSANDRA-3350: ------------------------------------------- +1 > 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 > Assignee: Pavel Yaskevich > Priority: Minor > Labels: lhf > Fix For: 0.8.8, 1.0.1 > > Attachments: CASSANDRA-3350.patch > > > 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