[
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', ['[email protected]']);
> {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