cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuki Morishita (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-4990) Do not allow use of collection with compact storage
Date Mon, 26 Nov 2012 16:44:58 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-4990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503885#comment-13503885
] 

Yuki Morishita commented on CASSANDRA-4990:
-------------------------------------------

+1
                
> 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
>            Assignee: Sylvain Lebresne
>            Priority: Minor
>             Fix For: 1.2.0 rc1
>
>         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<text>
> ) 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

Mime
View raw message