the format has changed, check the help in cqlsh

CREATE KEYSPACE Test WITH replication = {'class':'SimpleStrategy', 'replication_factor':1};

On 12/29/2012 04:27 PM, Adam Venturella wrote:

When I create a keyspace with a SimpleStrategy as outlined here: https://cassandra.apache.org/doc/cql3/CQL.html#createKeyspaceStmt


CREATE KEYSPACE Test
            WITH strategy_class = SimpleStrategy
             AND strategy_options:replication_factor = 1;
I receive the following error:
Bad Request: line 3:20 mismatched input ':' expecting '='

I'm running the following cqlsh:

Connected to Test Cluster at localhost:9160.

[cqlsh 2.3.0 | Cassandra 1.2.0~rc2 | CQL spec 3.0.0 | Thrift protocol 19.35.0]




Reply via email to