cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Singh Chowdhery (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10411) Add/drop multiple columns in one ALTER TABLE statement
Date Thu, 31 Dec 2015 08:58:49 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-10411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15075848#comment-15075848
] 

Amit Singh Chowdhery commented on CASSANDRA-10411:
--------------------------------------------------

Robert Stupp, I have taken Cassansdra formatter from https://github.com/tjake/cassandra-style-eclipse.
I think the existing code file is not as per the recommended formatter. So once I applied
the formatting, formatting changes popped up. Please verify it at your end too. Do you want
me disable formatter and checkin file ?
 
 "it would also be ok to go one step further and to allow drops, alters and adds of columns
in the same statement"
 I think we can have separate JIRA ticket for that. I would like to stick to current scope
of JIRA which is about supporting multiple add/drops
 I will provide patch over trunk and will also check formatting in trunk.

> Add/drop multiple columns in one ALTER TABLE statement
> ------------------------------------------------------
>
>                 Key: CASSANDRA-10411
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10411
>             Project: Cassandra
>          Issue Type: New Feature
>            Reporter: Bryn Cooke
>            Assignee: Amit Singh Chowdhery
>            Priority: Minor
>              Labels: patch
>         Attachments: cassandra-10411.diff
>
>
> Currently it is only possible to add one column at a time in an alter table statement.
It would be great if we could add multiple columns at a time.
> The primary reason for this is that adding each column individually seems to take a significant
amount of time (at least on my development machine), I know all the columns I want to add,
but don't know them until after the initial table is created.
> As a secondary consideration it brings CQL slightly closer to SQL where most databases
can handle adding multiple columns in one statement.



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

Mime
View raw message