You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Nick Bailey (JIRA)" <ji...@apache.org> on 2013/10/11 23:21:41 UTC

[jira] [Created] (CASSANDRA-6186) Can't add index with a name prefixed with 'index'

Nick Bailey created CASSANDRA-6186:
--------------------------------------

             Summary: Can't add index with a name prefixed with 'index'
                 Key: CASSANDRA-6186
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6186
             Project: Cassandra
          Issue Type: Bug
            Reporter: Nick Bailey
             Fix For: 2.0.2


cqlsh code:

{noformat}
cqlsh> drop keyspace test_add_index;
cqlsh> CREATE KEYSPACE test_add_index WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} ;
cqlsh> create table test_add_index.cf1 (a text PRIMARY KEY, b text , c text );
cqlsh> create index index1 on test_add_index.cf1 (c);
Bad Request: Duplicate index name index1
cqlsh> drop keyspace test_add_index;
cqlsh> CREATE KEYSPACE test_add_index WITH replication = {'class': 'SimpleStrategy', 'replication_factor': 1} ;
cqlsh> create table test_add_index.cf1 (a text PRIMARY KEY, b text , c text );
cqlsh> create index blah on test_add_index.cf1 (c);
cqlsh>
{noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)