[ https://issues.apache.org/jira/browse/CASSANDRA-5040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13526529#comment-13526529 ]
Jonathan Ellis commented on CASSANDRA-5040: ------------------------------------------- +1 > Can't insert only a key in CQL3 > ------------------------------- > > Key: CASSANDRA-5040 > URL: https://issues.apache.org/jira/browse/CASSANDRA-5040 > Project: Cassandra > Issue Type: Bug > Affects Versions: 1.2.0 beta 1 > Reporter: Sylvain Lebresne > Assignee: Sylvain Lebresne > Priority: Minor > Fix For: 1.2.0 rc1 > > Attachments: 5040.patch > > > The following should work but well, doesnt: > {noformat} > cqlsh:k> CREATE TABLE t (k int PRIMARY KEY, v int); > cqlsh:k> INSERT INTO t (k) VALUES (0); > Bad Request: line 1:27 required (...)+ loop did not match anything at input > ')' > {noformat} > The reason is just that the parser for INSERT has never been updated from the > time where providing only a key was illegal. -- 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