Datastax Cassandra odbc驱动程序并在cqlsh 3上启动cql2会产生错误,如cqlsh:错误:无此选项:-2 [英] Datastax Cassandra odbc driver and starting cql2 on cqlsh 3 gives error as cqlsh: error: no such option: -2

查看:123
本文介绍了Datastax Cassandra odbc驱动程序并在cqlsh 3上启动cql2会产生错误,如cqlsh:错误:无此选项:-2的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经为cassndra安装了datastax ODBC驱动程序,并且还使用cql 3创建了键空间和一些表.但是ODBC驱动程序未显示这些表. 同样在odbc文档中,我读到该驱动程序当前不支持3.0版的Cassandra查询语言(CQL3),并且该驱动程序将无法识别用CQL 3定义的键空间和列系列. 因此,为了使用cql 2,我使用了驱动程序文档中建议的以下命令:

I have installed datastax ODBC driver for cassndra and also i have created keyspace and some tables using cql 3. But ODBC driver is not showing up those tables. Also in odbc documentation i read that the driver does not currently support version 3.0 of the Cassandra Query Language (CQL3) and the driver will not recognize keyspaces and column families that are defined with CQL 3. So in order to use cql 2 i am using following command which is suggested in driver documentation:

... \ cqlsh" -2

...\cqlsh" -2

但这给出了一个错误消息,提示"cqlsh:错误:没有这样的选项:-2"

But this is giving an error saying "cqlsh: error: no such option: -2"

有人可以帮我吗?

推荐答案

cql2已过时,并已在Cassandra 2.0中从cslqh中删除.在3.0中也会从服务器中删除它.

cql2 is deprecated and was removed from cslqh in Cassandra 2.0. It will be removed from the server as well in 3.0.

我不知道何时将cql3支持添加到ODBC驱动程序中.

I do not know when cql3 support will be added to the ODBC driver.

这篇关于Datastax Cassandra odbc驱动程序并在cqlsh 3上启动cql2会产生错误,如cqlsh:错误:无此选项:-2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆