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

Simplify CQL create keyspace syntax

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Low
    • Resolution: Won't Fix
    • None
    • None

    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

            Unassigned Unassigned
            mstump Matt Stump
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: