[ 
https://issues.apache.org/jira/browse/CASSANDRA-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481466#comment-13481466
 ] 

Sylvain Lebresne commented on CASSANDRA-4844:
---------------------------------------------

bq. Cassandra typically approaches these things "we changed it, deal with it."

I won't pretend we have been perfect in the past on these things nor will I 
pretend that we'll be perfect in the future. But we're trying to be better and 
I dare say that we do improve. And I spend way too much of my time (and I'm not 
the only one) writing code whose only purpose is to ensure backward 
compatibility (and I will continue doing it because I absolutely believe it is 
important, but it's rarely fun) to let you say that we don't care. Trust me, we 
care.

But we've marked CQL3 beta in 1.1 exactly because we knew we wouldn't get 
everything right the first time, and we wanted the freedom to fix those thing 
to be confident about CQL3 final (and at least as far as I'm concerned, I do 
intend to do everything possible to provide backward compatibility for CQL3 
final once it's released, because that's part of the deal). So yes, backward 
compatibility is a major concern of mine, but no I disagree that we should keep 
backward compatibility on things we've explicitly declared as beta, even if 
there is blogs about it.

bq. the inline documentation in cqlsh is still wrong

Good point, we'll need to fix it (that's not the only cql doc that is not up to 
date for 1.2 though). Do feel free to reopen with an update title for this.
                
> CQL3 Create keyspace statement not compatible with older versions.
> ------------------------------------------------------------------
>
>                 Key: CASSANDRA-4844
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4844
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.0 beta 1
>            Reporter: Edward Capriolo
>
> Following the advice here.
> http://www.datastax.com/docs/1.1/dml/using_cql
> {noformat}
> [edward@tablitha apache-cassandra-1.2.0-beta1]$ bin/cqlsh -3
> Connected to Test Cluster at localhost:9160.
> [cqlsh 2.2.0 | Cassandra 1.2.0-beta1 | CQL spec 3.0.0 | Thrift protocol 
> 19.34.0]
> Use HELP for help.
> cqlsh> CREATE KEYSPACE demodb          WITH strategy_class = 
> 'org.apache.cassandra.locator.SimpleStrategy'          AND 
> strategy_options:replication_factor='1' ;
> Bad Request: line 1:129 mismatched input ':' expecting '='
> Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
> {noformat}
> http://www.datastax.com/docs/1.1/references/cql/CREATE_KEYSPACE
> {noformat}
> cqlsh> CREATE KEYSPACE Excelsior WITH strategy_class = 'SimpleStrategy'
>    ...   AND strategy_options:replication_factor = 1;
> Bad Request: line 2:22 mismatched input ':' expecting '='
> {noformat}
> It seems that in Cassandra 1.2 I am no longer able to create a keyspace.

--
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

Reply via email to