June 13, 2011 9 Comments
NOTE: CQL V2 reference is available here http://crlog.info/2011/09/17/cassandra-query-language-cql-v2-0-reference/
Cassandra Query Language (CQL) v1.0.0
This is an update to my previous post documenting the Cassandra query language CQL. A few changes have been made in CQL, the biggest change being the addition of the INSERT keyword. Previously the UPDATE statement would perform an insert if a value did not already exists, the INSERT statement now explicitly does this inserting. BATCH and ALTER TABLE are also now included in the mix, see the official doc here : https://github.com/apache/cassandra/blob/trunk/doc/cql/CQL.textile.