From e60b4e6d1d8fb94586ec3e277e77a6d2aef0be2e Mon Sep 17 00:00:00 2001 From: Tyler Hobbs Date: Tue, 15 Jul 2014 18:18:15 -0500 Subject: [PATCH] Bump CQL version to 3.2.0 and update CQL docs Patch by Tyler Hobbs; reviewed by Aleksey Yeschenko for CASSANDRA-7527 --- CHANGES.txt | 1 + bin/cqlsh | 2 +- doc/cql3/CQL.textile | 137 ++++++++++++++++-- .../apache/cassandra/cql3/QueryProcessor.java | 2 +- 4 files changed, 127 insertions(+), 15 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index b20c465e50..db66bf9ffe 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,7 @@ * (Windows) fix startup when WMI memory query fails (CASSANDRA-7505) * Anti-compaction proceeds if any part of the repair failed (CASANDRA-7521) * Add missing table name to DROP INDEX responses and notifications (CASSANDRA-7539) + * Bump CQL version to 3.2.0 and update CQL documentation (CASSANDRA-7527) Merged from 2.0: * (Windows) force range-based repair to non-sequential mode (CASSANDRA-7541) * Fix range merging when DES scores are zero (CASSANDRA-7535) diff --git a/bin/cqlsh b/bin/cqlsh index c3a4ea6e35..53f0c7c6db 100755 --- a/bin/cqlsh +++ b/bin/cqlsh @@ -139,7 +139,7 @@ if os.path.exists(OLD_HISTORY): DEFAULT_HOST = '127.0.0.1' DEFAULT_PORT = 9042 -DEFAULT_CQLVER = '3.1.7' +DEFAULT_CQLVER = '3.2.0' DEFAULT_TIME_FORMAT = '%Y-%m-%d %H:%M:%S%z' DEFAULT_FLOAT_PRECISION = 5 diff --git a/doc/cql3/CQL.textile b/doc/cql3/CQL.textile index 0c1d2b993d..2d45cf1d03 100644 --- a/doc/cql3/CQL.textile +++ b/doc/cql3/CQL.textile @@ -1,6 +1,6 @@ -h1. Cassandra Query Language (CQL) v3.1.7 +h1. Cassandra Query Language (CQL) v3.2.0 @@ -216,7 +216,7 @@ __Syntax:__ bc(syntax).. ::= CREATE ( TABLE | COLUMNFAMILY ) ( IF NOT EXISTS )? - '(' ( ',' )* ')' + '(' ( ',' )* ')' ( WITH