You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2012/10/22 18:58:12 UTC

[jira] [Updated] (CASSANDRA-4844) cqlsh help for CQL3 Create (and probably Alter) statements needs to be updated for Map syntax change

     [ https://issues.apache.org/jira/browse/CASSANDRA-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis updated CASSANDRA-4844:
--------------------------------------

    Reviewer: brandon.williams
    Priority: Minor  (was: Major)
    Assignee: Aleksey Yeschenko
     Summary: cqlsh help for CQL3 Create (and probably Alter) statements needs to be updated for Map syntax change  (was: CQL3 Create keyspace statement not compatible with older versions.)

Updated.  See also CASSANDRA-4811.
                
> cqlsh help for CQL3 Create (and probably Alter) statements needs to be updated for Map syntax change
> ----------------------------------------------------------------------------------------------------
>
>                 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
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>
> 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