cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sylvain Lebresne (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5189) compact storage metadata is broken
Date Tue, 29 Jan 2013 17:47:13 GMT

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

Sylvain Lebresne commented on CASSANDRA-5189:
---------------------------------------------

It's not only validation change in fact, the change to the first {{if}} is what fixes it.

                
> 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

Mime
View raw message