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

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=13490709#comment-13490709 ] 

Jonathan Ellis commented on CASSANDRA-4910:
-------------------------------------------

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