[ 
https://issues.apache.org/jira/browse/CASSANDRA-12644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

C. Scott Andreas updated CASSANDRA-12644:
-----------------------------------------
    Component/s: CQL

> CREATE OR ALTER TABLE
> ---------------------
>
>                 Key: CASSANDRA-12644
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12644
>             Project: Cassandra
>          Issue Type: Improvement
>          Components: CQL
>            Reporter: Jon Haddad
>            Priority: Major
>
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to