[ https://issues.apache.org/jira/browse/CASSANDRA-4278?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-4278: -------------------------------------- Reviewer: xedin > Can't specify certain keyspace properties in CQL > ------------------------------------------------ > > Key: CASSANDRA-4278 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4278 > Project: Cassandra > Issue Type: Bug > Components: Core > Affects Versions: 1.0.1 > Reporter: paul cannon > Assignee: Sylvain Lebresne > Priority: Minor > Labels: cql, cql3 > Fix For: 1.1.1 > > Attachments: 4278.txt > > > A user using EC2MultiRegionSnitch, where the datacenter name has to match the > AWS region names, will not be able to specify a keyspace's replica counts for > those datacenters using CQL. AWS region names contain hyphens, which are not > valid identifiers in CQL, and CQL keyspace/columnfamily properties must be > identifiers or identifiers separated by colons. > Example: > {noformat} > CREATE KEYSPACE Foo > WITH strategy_class = 'NetworkTopologyStrategy' > AND strategy_options:"us-east"=1 > AND strategy_options:"us-west"=1; > {noformat} > (see > http://mail-archives.apache.org/mod_mbox/cassandra-user/201205.mbox/browser > for context) > ..will not currently work, with or without the double quotes. > CQL should either allow hyphens in COMPIDENT, or allow quoted parts of a > COMPIDENT token. -- 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