[
https://issues.apache.org/jira/browse/CASSANDRA-7190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15293929#comment-15293929
]
Robert Stupp commented on CASSANDRA-7190:
-----------------------------------------
Could this be done as a {{CREATE OR REPLACE TABLE ...}} statement? So it would
then effectively replace an existing table definition (or just create the
table).
But thinking further (considering UDTs, maybe UDFs in the future for functional
indexes/MVs using functions), it would require something like a {{CREATE OR
REPLACE KEYSPACE}} functionality. But that feels dirty and essentially complex.
I *think* there was an idea for a DDL statements batch - not sure whether it
was a ticket, some discussion or just in my thoughts. Anyway, such a {{BEGIN
DDL BATCH}} could contain a bunch of {{CREATE}}/{{ALTER}}/{{DROP}} statements
and would be applied as a single schema mutation. Not sure, if it's worth the
effort - just an idea.
Another thing that just came to mind is: would it be a good idea to also
include the {{cfId}}?
> Add schema to snapshot manifest
> -------------------------------
>
> Key: CASSANDRA-7190
> URL: https://issues.apache.org/jira/browse/CASSANDRA-7190
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Jonathan Ellis
> Assignee: Alex Petrov
> Priority: Minor
> Labels: lhf
> Fix For: 3.x
>
>
> followup from CASSANDRA-6326
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)