Jon Haddad created CASSANDRA-11147:
--------------------------------------

             Summary: support alter table add if not exists
                 Key: CASSANDRA-11147
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11147
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Jon Haddad


Keeping database schema up to date is a pain when needing to check if column 
definitions are already set.  Since we already have if not exists for create 
table & keyspace, I think it's only logical to add for adding columns.

For example:

{code}
ALTER TABLE whatever add if not exists name int;
{code}

This would let a team treat a series of DDL statements as an append only commit 
log of CQL statements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to