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 667A111581 for ; Wed, 13 Aug 2014 07:32:12 +0000 (UTC) Received: (qmail 90163 invoked by uid 500); 13 Aug 2014 07:32:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 90125 invoked by uid 500); 13 Aug 2014 07:32:12 -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 90111 invoked by uid 99); 13 Aug 2014 07:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 07:32:12 +0000 Date: Wed, 13 Aug 2014 07:32:12 +0000 (UTC) From: "Robert Stupp (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CASSANDRA-7744) Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType 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-7744?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14095242#comment-14095242 ] Robert Stupp commented on CASSANDRA-7744: ----------------------------------------- [~iamaleksey] thanks for the explanation. IMO since it seems that it never worked before, I'd prefer the first option (reject such updates). > Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType > ------------------------------------------------------------------------------------------------------------------ > > Key: CASSANDRA-7744 > URL: https://issues.apache.org/jira/browse/CASSANDRA-7744 > Project: Cassandra > Issue Type: Bug > Reporter: Aleksey Yeschenko > Assignee: Sylvain Lebresne > Fix For: 2.0.10, 2.1.0 > > Attachments: 7744.txt > > > Dropping the last collection column turns CompoundSparseCellNameType$WithCollection into CompoundDenseCellNameType > To reproduce > {code} > cqlsh:test> create table test (id int primary key, col map); > cqlsh:test> alter table test drop col; > cqlsh:test> alter table test add col list; > code=2200 [Invalid query] message="Cannot add new column to a COMPACT STORAGE table" > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)