You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/19 02:11:01 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 ]
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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org