Which CQL version corresponds to which Cassandra version?

你离开我真会死。 提交于 2019-12-10 22:03:26

问题


The CQL documentation is organized according to the CQL version, not the Cassandra product version. Obviously, I want to read the CQL documentation corresponding to the Cassandra release I'm using, but I can't find comprehensive info on which CQL version corresponds to which Cassandra version:

  • CQL 3.1 documentation is titled "CQL for Cassandra 2.0 & 2.1", but newer CQL docs no longer mention Cassandra versions
  • The Product compatibility page only maps versions of OpsCenter, Cassandra and DataStax Enterprise

Is there a simple page listing the version mapping?


回答1:


Thank you for the feedback. The DataStax docs team has added a new section to the Product Compatibility page in all the docs as a result of your feedback:

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

Feel free to tweet additional feedback at @DataStaxDocs




回答2:


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




回答3:


If you already have a running Cassandra data base, you can run

SELECT cql_version, release_version FROM system.local;

to get your Cassandra version and corresponding CQL version.



来源:https://stackoverflow.com/questions/38140509/which-cql-version-corresponds-to-which-cassandra-version

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!