You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2016/02/10 14:08:18 UTC

[jira] [Resolved] (CASSANDRA-11147) support alter table add if not exists

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

Aleksey Yeschenko resolved CASSANDRA-11147.
-------------------------------------------
    Resolution: Duplicate

> 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)