cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Haddad (JIRA)" <>
Subject [jira] [Created] (CASSANDRA-12644) CREATE OR ALTER TABLE
Date Thu, 15 Sep 2016 04:10:20 GMT
Jon Haddad created CASSANDRA-12644:

             Summary: CREATE OR ALTER TABLE
                 Key: CASSANDRA-12644
             Project: Cassandra
          Issue Type: Bug
            Reporter: Jon Haddad

Similar to how tools like Puppet & Chef allow you to specify what you want rather than
how you want it done, it would be nice to be able to give Cassandra this:

{code}CREATE OR ALTER TABLE stuff ( 
id int primary key,
name text,
city text,
state text);{code}

and it would look at the existing schema and work out that it needed to add fields that are
missing.  This should only work in a non destructive fashion, that is, it should not remove
fields, indexes, etc.  If a user attempts to change a table and the action would be destructive,
they should get an error that they have to apply those changes explicitly.

This message was sent by Atlassian JIRA

View raw message