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] [Updated] (CASSANDRA-5040) Can't insert only a key in CQL3
Date Fri, 07 Dec 2012 15:19:21 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-5040?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sylvain Lebresne updated CASSANDRA-5040:
----------------------------------------

    Attachment: 5040.patch

Trivial patch attached
                
> 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

Mime
View raw message