cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nick Bailey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6186) Can't add index with a name prefixed with 'index'
Date Fri, 11 Oct 2013 21:21:41 GMT
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)

Mime
View raw message