哪个CQL版本对应哪个Cassandra版本?

时间:2016-07-01 08:23:02

标签: cassandra datastax cql

CQL文档是根据CQL版本而非Cassandra产品版本组织的。显然,我想阅读与我使用的Cassandra版本相对应的CQL文档,但是我无法找到有关哪个CQL版本对应哪个Cassandra版本的全面信息:

  • CQL 3.1 documentation标题为" CQL for Cassandra 2.0& 2.1",但较新的CQL文档不再提及Cassandra版本
  • Product compatibility页面仅映射OpsCenter,Cassandra和DataStax Enterprise的版本

是否有一个列出版本映射的简单页面?

3 个答案:

答案 0 :(得分:6)

CQL Version  | Cassandra Version

3.3          | 2.2 and above
3.1          | 2.o & 2.1
3.0          | 1.2 to 1.x

CQL older version
CQL 3.3

答案 1 :(得分:3)

感谢您的反馈。由于您的反馈,DataStax文档团队在所有文档的“产品兼容性”页面中添加了一个新部分:

CQL versions used by DataStax Enterprise and Cassandra 

CQL version           Cassandra         DataStax Enterprise
3.3                   2.2, 3.0,3.x      5.0
3.1                   2.0, 2.1          4.0, 4.5, 4.6, 4.7, 4.8
3.0                   1.2               3.1, 3.2

http://docs.datastax.com/en/landing_page/doc/landing_page/compatibility.html?scroll=compatibilityDocument__cql-versions

欢迎在@DataStaxDocs

发送更多反馈

答案 2 :(得分:1)

如果您已经有一个正在运行的Cassandra数据库,则可以运行

SELECT cql_version, release_version FROM system.local;

获取您的Cassandra版本和相应的CQL版本。