cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Stupp (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10411) Add/drop multiple columns in one ALTER TABLE statement
Date Thu, 31 Dec 2015 11:22:49 GMT


Robert Stupp commented on CASSANDRA-10411:

bq. So once I applied the formatting, formatting changes popped up

Yup - might be. But please do not format code, that's not changed. That would cause conflicts
with other merges and make the patch itself unnecessarily big (and difficult to review). And
yes, automatic formatting of the whole file is not what you want then ;)

bq. can have separate JIRA ticket for that

Sure, go ahead :)

> Add/drop multiple columns in one ALTER TABLE statement
> ------------------------------------------------------
>                 Key: CASSANDRA-10411
>                 URL:
>             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

View raw message