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

[jira] [Updated] (CASSANDRA-4910) CQL3 doesn't allow static CF definition with compact storage in C* 1.1

     [ https://issues.apache.org/jira/browse/CASSANDRA-4910?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-4910:
----------------------------------------

    Attachment: 4910.txt

Simple fix attached (not sure why we've refused that in the first place).
                
> 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
>
>         Attachments: 4910.txt
>
>
> 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