[
https://issues.apache.org/jira/browse/CASSANDRA-2529?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cathy Daw updated CASSANDRA-2529:
---------------------------------
Labels: cql (was: )
Description:
*CQL*
{code}
cqlsh> create keyspace testcql0;
Bad Request: line 1:20 mismatched input ';' expecting K_WITH
{code}
*Cassandra CLI*
{code}
[default@unknown] create keyspace testcli0;
3535f660-6c4f-11e0-0000-710abe20addf
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] describe keyspace testcli0;
Keyspace: none:
Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
Options: [datacenter1:1]
Column Families:
{code}
was:
*CQL*
{code}
cqlsh> create keyspace testcql0;
Bad Request: line 1:20 mismatched input ';' expecting K_WITH
{code}
*Cassandra CLI*
{code}
[default@unknown] create keyspace testcli0;
3535f660-6c4f-11e0-0000-710abe20addf
Waiting for schema agreement...
... schemas agree across the cluster
[default@unknown] describe keyspace testcli0;
Keyspace: none:
Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
Options: [datacenter1:1]
Column Families:
{code}
> CQL: Cassandra CLI allows a simple create keyspace statement, but CQL does not
> ------------------------------------------------------------------------------
>
> Key: CASSANDRA-2529
> URL: https://issues.apache.org/jira/browse/CASSANDRA-2529
> Project: Cassandra
> Issue Type: Bug
> Environment: 3 nodes on rackspace running Centos 5.5
> Cassandra 0.8 build 30: https://builds.apache.org/hudson/job/Cassandra-0.8/30/
> Reporter: Cathy Daw
> Priority: Minor
> Labels: cql
> Fix For: 0.8.0
>
>
> *CQL*
> {code}
> cqlsh> create keyspace testcql0;
> Bad Request: line 1:20 mismatched input ';' expecting K_WITH
> {code}
> *Cassandra CLI*
> {code}
> [default@unknown] create keyspace testcli0;
> 3535f660-6c4f-11e0-0000-710abe20addf
> Waiting for schema agreement...
> ... schemas agree across the cluster
> [default@unknown] describe keyspace testcli0;
> Keyspace: none:
> Replication Strategy: org.apache.cassandra.locator.NetworkTopologyStrategy
> Options: [datacenter1:1]
> Column Families:
> {code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira