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

2013-01-29 Thread Jason Brown (JIRA)

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

Jason Brown commented on CASSANDRA-5189:


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


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

2013-01-29 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis commented on CASSANDRA-5189:
---

I'm not actually sure how this fixes the problem, although it apparently does 
-- looks like only validation changes were made to CREATE.

 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


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

2013-01-29 Thread Sylvain Lebresne (JIRA)

[ 
https://issues.apache.org/jira/browse/CASSANDRA-5189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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


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

2013-01-29 Thread Jonathan Ellis (JIRA)

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

Jonathan Ellis commented on CASSANDRA-5189:
---

+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