You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jason Brown (JIRA)" <ji...@apache.org> on 2013/01/29 15:49:12 UTC

[jira] [Comment Edited] (CASSANDRA-5189) compact storage metadata is broken

    [ https://issues.apache.org/jira/browse/CASSANDRA-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13565413#comment-13565413 ] 

Jason Brown edited comment on CASSANDRA-5189 at 1/29/13 2:47 PM:
-----------------------------------------------------------------

Tested locally and it worked properly. LGTM. +1
                
      was (Author: jasobrown):
    Tested it out locally and worked properly. LGTM. +1
                  
> compact storage metadata is broken
> ----------------------------------
>
>                 Key: CASSANDRA-5189
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5189
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>            Reporter: Jonathan Ellis
>            Assignee: Sylvain Lebresne
>             Fix For: 1.2.2
>
>         Attachments: 5189.txt
>
>
> {noformat}
> cqlsh:foo> CREATE TABLE bar (
>        ...     id int primary key,
>        ...     i int
>        ... ) WItH COMPACT STORAGE;
> cqlsh:foo> INSERT INTO bar (id, i) VALUES (1, 2);
> Bad Request: Missing PRIMARY KEY part column1
> Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
> cqlsh:foo> INSERT INTO bar (id, column1) VALUES (1, 2);
> Bad Request: Missing mandatory column i
> Perhaps you meant to use CQL 2? Try using the -2 option when starting cqlsh.
> {noformat}

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