You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Yuki Morishita (JIRA)" <ji...@apache.org> on 2012/11/26 17:44:58 UTC

[jira] [Commented] (CASSANDRA-4990) Do not allow use of collection with compact storage

    [ 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