Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9315017B05 for ; Tue, 29 Sep 2015 13:46:05 +0000 (UTC) Received: (qmail 12238 invoked by uid 500); 29 Sep 2015 13:46:05 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 12204 invoked by uid 500); 29 Sep 2015 13:46:05 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 12185 invoked by uid 99); 29 Sep 2015 13:46:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Sep 2015 13:46:04 +0000 Date: Tue, 29 Sep 2015 13:46:04 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-10411) Add/drop multiple columns in one ALTER TABLE statement MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-10411?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14935187#comment-14935187 ] Sylvain Lebresne commented on CASSANDRA-10411: ---------------------------------------------- That is certainly something we can support but it's not a huge priority either so feel free to summit a patch if that's an itch you want scratched in a timely fashion. > 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 > Priority: Minor > > 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)