I sent a note to our docs team to add a warning/note to the docs there about the difference between the syntax in 1.1 and 1.2.
Thanks! On Tue, Jan 22, 2013 at 10:49 AM, Colin Blower <[email protected]>wrote: > You were most likely looking at the wrong documentation. The syntax for > CQL3 changed between Cassandra 1.1 and 1.2. When I google "cassandra CQL3" > the first result is Cassandra 1.1 documentation about CQL3, which is wrong > for 1.2. > > Make sure you are looking at the documentation for the version you are > using. It might also be nice for DataStax to update the 1.1 documentation > with a warning. > > -- > *Colin Blower* > > > On 01/22/2013 04:06 AM, Paul van Hoven wrote: > > Okay, that worked. Why is the statement from the tutorial wrong. I > mean, why would a company like datastax post somthing like this? > > 2013/1/22 Jason Wee <[email protected]> <[email protected]>: > > cqlsh> CREATE KEYSPACE demodb WITH replication = {'class': 'SimpleStrategy', > 'replication_factor': 3}; > cqlsh> use demodb; > cqlsh:demodb> > > > On Tue, Jan 22, 2013 at 7:04 PM, Paul van > Hoven<[email protected]> <[email protected]> wrote: > > CREATE KEYSPACE demodb WITH strategy_class = 'SimpleStrategy' > AND strategy_options:replication_factor='1'; > > > > > -- Tyler Hobbs DataStax <http://datastax.com/>
