Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-6186

Can't add index with a name prefixed with 'index'

Agile BoardAttach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Cannot Reproduce
    • Fix Version/s: 2.0.2
    • Component/s: None
    • Labels:
      None
    • Severity:
      Normal

      Description

      cqlsh code:

      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>
      

        Attachments

          Activity

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment