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

Simplify CQL create keyspace syntax

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Low
    • Resolution: Won't Fix
    • Fix Version/s: None
    • Component/s: None
    • Labels:

      Description

      In order to simplify the new user experience we should make the specification of the replication strategy when creating a new keyspace optional. Additionally the NetworkTopologyStrategy should be made the default with a RF of 1 per existing datacenter.

      This proposal would make the two operations equivalent:

      CREATE KEYSPACE test WITH replication = {
        'class': 'NetworkTopologyStrategy',
        'ExistingDC': '1'
      };
      
      CREATE KEYSPACE test;
      

        Attachments

          Activity

            People

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment