cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-11147) support alter table add if not exists
Date Wed, 10 Feb 2016 13:08:18 GMT

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

Mime
View raw message