cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-5189) compact storage metadata is broken
Date Sun, 27 Jan 2013 04:37:12 GMT
Jonathan Ellis created CASSANDRA-5189:
-----------------------------------------

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


{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