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 52280D435 for ; Mon, 26 Nov 2012 16:12:59 +0000 (UTC) Received: (qmail 26771 invoked by uid 500); 26 Nov 2012 16:12:59 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 26691 invoked by uid 500); 26 Nov 2012 16:12:59 -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 26663 invoked by uid 99); 26 Nov 2012 16:12:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Nov 2012 16:12:58 +0000 Date: Mon, 26 Nov 2012 16:12:58 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: <1214001140.23183.1353946378513.JavaMail.jiratomcat@arcas> In-Reply-To: <457153297.22956.1353941938855.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4990) Do not allow use of collection with compact storage 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-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-4990: ---------------------------------------- Attachment: 4990.txt > Do not allow use of collection with compact storage > --------------------------------------------------- > > Key: CASSANDRA-4990 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4990 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.0 beta 2 > Reporter: Yuki Morishita > Priority: Minor > Attachments: 4990.txt > > > You can define ColumnFamily with collection type and compact storage as follows: > {code} > CREATE TABLE test ( > user ascii PRIMARY KEY, > mails list > ) WITH COMPACT STORAGE; > {code} > This does not make sense and end up error when inserting data to collection. > {code} > INSERT INTO test (user, mails) VALUES ('foo', ['foo@foo.org']); > {code} > I think it is better not to allow defining such ColumnFamily. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira