You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Joshua McKenzie (JIRA)" <ji...@apache.org> on 2016/09/15 14:53:20 UTC

[jira] [Updated] (CASSANDRA-12644) CREATE OR ALTER TABLE

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

Joshua McKenzie updated CASSANDRA-12644:
----------------------------------------
    Issue Type: Improvement  (was: Bug)

> CREATE OR ALTER TABLE
> ---------------------
>
>                 Key: CASSANDRA-12644
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12644
>             Project: Cassandra
>          Issue Type: Improvement
>            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
(v6.3.4#6332)