cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michaël Figuière (JIRA) <>
Subject [jira] [Created] (CASSANDRA-5878) Fix CQL3 documentation
Date Sun, 11 Aug 2013 05:33:47 GMT
Michaël Figuière created CASSANDRA-5878:

             Summary: Fix CQL3 documentation 
                 Key: CASSANDRA-5878
             Project: Cassandra
          Issue Type: Task
         Environment: Cassandra 2.0rc1
            Reporter: Michaël Figuière
            Priority: Trivial

A couple of fixes are required in the CQL3 documentation:

*{{UPDATE}} and {{DELETE}} statements allow {{AND}} in {{WHERE}} clauses*

<where-clause> ::= <identifier> '=' <term>
                 | <identifier> IN '(' ( <term> ( ',' <term> )* )? ')'

should be:

<where-clause> ::= <relation> ( "AND" <relation> )*

<relation> ::= <identifier> '=' <term>
             | <identifier> IN '(' ( <term> ( ',' <term>)* )? ')'

*{{UPDATE}} and {{DELETE}} statements support {{IN}} only on the last column of the partition

The documentation should specify this limitation in the way {{IN}} can be used. It's currently
explained only in cqlsh.

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:

View raw message