Yuki Morishita created CASSANDRA-4990:
-----------------------------------------

             Summary: 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


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

Reply via email to