[
https://issues.apache.org/jira/browse/CASSANDRA-4735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Ellis resolved CASSANDRA-4735.
---------------------------------------
Resolution: Invalid
strategy options uses Map syntax now. (CASSANDRA-4497)
> CQL3 CREATE KEYSPACE fails with `mismatched input ':' expecting '='`
> --------------------------------------------------------------------
>
> Key: CASSANDRA-4735
> URL: https://issues.apache.org/jira/browse/CASSANDRA-4735
> Project: Cassandra
> Issue Type: Bug
> Affects Versions: 1.2.0 beta 1
> Environment: rev 60bf68ca (tagged cassandra-1.2.0-beta1)
> cqlsh 2.2.0 | Cassandra 1.2.0-beta1-SNAPSHOT | CQL spec 3.0.0 | Thrift
> protocol 19.34.0
> OS X 10.8.2
> java version "1.6.0_35"
> Java(TM) SE Runtime Environment (build 1.6.0_35-b10-428-11M3811)
> Java HotSpot(TM) 64-Bit Server VM (build 20.10-b01-428, mixed mode)
> Ubuntu 12.04.1 LTS
> java version "1.7.0_07"
> Java(TM) SE Runtime Environment (build 1.7.0_07-b10)
> Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
> Reporter: Jonathan Rudenberg
>
> {noformat}
> cqlsh> CREATE KEYSPACE test1 WITH strategy_class = 'SimpleStrategy' AND
> strategy_options:replication_factor = 1;
> Bad Request: line 1:81 mismatched input ':' expecting '='
> Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
> {noformat}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira