Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id E26B1200BC1 for ; Wed, 16 Nov 2016 17:07:59 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id DF979160B1B; Wed, 16 Nov 2016 16:07:59 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5C6C2160B02 for ; Wed, 16 Nov 2016 17:07:59 +0100 (CET) Received: (qmail 15412 invoked by uid 500); 16 Nov 2016 16:07:58 -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 15390 invoked by uid 99); 16 Nov 2016 16:07:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Nov 2016 16:07:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 6B49D2C2B10 for ; Wed, 16 Nov 2016 16:07:58 +0000 (UTC) Date: Wed, 16 Nov 2016 16:07:58 +0000 (UTC) From: "Alex Petrov (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-12603) ALTER TABLE's DROP has superfluous column_name MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 16 Nov 2016 16:08:00 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12603?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15670835#comment-15670835 ] Alex Petrov commented on CASSANDRA-12603: ----------------------------------------- {{ALTER TABLE %s drop (address, telephone, \"SOME escaped col\")}} works. There's also a [unit test|https://github.com/apache/cassandra/blob/trunk/test/unit/org/apache/cassandra/cql3/validation/operations/AlterTest.java#L493] for that. > ALTER TABLE's DROP has superfluous column_name > ---------------------------------------------- > > Key: CASSANDRA-12603 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12603 > Project: Cassandra > Issue Type: Bug > Components: Documentation and Website > Reporter: Tamer AbdulRadi > > {{alter_table_instruction}} defined DROP instruction as: > {{DROP column_name ( column_name )*}} > Which means DROP can multiple space-delimited columns names, but this is not the case as tested on cqlsh (cqlsh 5.0.1 | Cassandra 3.7 | CQL spec 3.4.2 | Native protocol v4) -- This message was sent by Atlassian JIRA (v6.3.4#6332)