Sylvain Lebresne created CASSANDRA-4910:
-------------------------------------------

             Summary: CQL3 doesn't allow static CF definition with compact 
storage in C* 1.1
                 Key: CASSANDRA-4910
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4910
             Project: Cassandra
          Issue Type: Bug
    Affects Versions: 1.1.1
            Reporter: Sylvain Lebresne
            Assignee: Sylvain Lebresne
             Fix For: 1.1.7


In Cassandra 1.1, the following CQL3 definition:
{noformat}
CREATE TABLE user_profiles (
    user_id text PRIMARY KEY,
    first_name text,
    last_name text,
    year_of_birth int
) WITH COMPACT STORAGE;
{noformat}
yields:
{noformat}
Bad Request: COMPACT STORAGE requires at least one column part of the 
clustering key, none found
{noformat}

This works fine in 1.2 however.

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