[ https://issues.apache.org/jira/browse/CASSANDRA-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jonathan Ellis updated CASSANDRA-5189: -------------------------------------- Reviewer: jasobrown > 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