You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jon Haddad (JIRA)" <ji...@apache.org> on 2016/09/15 04:10:20 UTC
[jira] [Created] (CASSANDRA-12644) CREATE OR ALTER TABLE
Jon Haddad created CASSANDRA-12644:
--------------------------------------
Summary: CREATE OR ALTER TABLE
Key: CASSANDRA-12644
URL: https://issues.apache.org/jira/browse/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
(v6.3.4#6332)