Datastax Cassandra odbc驱动程序和在cqlsh 3上启动cql2会给出错误为cqlsh:error:没有这样的选项:-2
我已经为cassndra安装了datastax ODBC驱动程序,还使用cql 3创建了键空间和一些表。但ODBC驱动程序并没有显示这些表。 在odbc文档中,我还了解到驱动程序目前不支持Cassandra查询语言(CQL3)的3.0版本,并且驱动程序无法识别用CQL3定义的键空间和列族。 因此,为了使用cql 2,我使用驱动程序文档中建议的以下命令: …\cqlsh“-2 但这会给出一个错误:“cqlsh:error:no-this-option:-2”Datastax Cassandra odbc驱动程序和在cqlsh 3上启动cql2会给出错误为cqlsh:error:没有这样的选项:-2,cassandra,odbc,cql,datastax,Cassandra,Odbc,Cql,Datastax,我已经为cassndra安装了datastax ODBC驱动程序,还使用cql 3创建了键空间和一些表。但ODBC驱动程序并没有显示这些表。 在odbc文档中,我还了解到驱动程序目前不支持Cassandra查询语言(CQL3)的3.0版本,并且驱动程序无法识别用CQL3定义的键空间和列族。 因此,为了使用cql 2,我使用驱动程序文档中建议的以下命令: …\cqlsh“-2 但这会给出一个错误:“cqlsh:error:no-this-option:-2” 有人能帮我解决这个问题吗?cql2已被
有人能帮我解决这个问题吗?cql2已被弃用,并在Cassandra 2.0中从cslqh中删除。它也将在3.0中从服务器上删除
我不知道何时将cql3支持添加到ODBC驱动程序。cql2已被弃用,并已从Cassandra 2.0中的cslqh中删除。它也将在3.0中从服务器上删除
我不知道何时将cql3支持添加到ODBC驱动程序。cql2已被弃用,并已从Cassandra 2.0中的cslqh中删除。它也将在3.0中从服务器上删除
我不知道何时将cql3支持添加到ODBC驱动程序。cql2已被弃用,并已从Cassandra 2.0中的cslqh中删除。它也将在3.0中从服务器上删除
我不知道何时将cql3支持添加到ODBC驱动程序。有关如何使用以前的规范/版本启动cqlsh的文档不正确…您需要使用--cqlversion而不是-2(请参阅下面的注释)。然而,正如jbellis的回答中提到的,cql2支持已经从cassandra的更高版本中删除
CQL Shell for Apache Cassandra
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-C, --color Always use color output
--no-color Never use color output
-u USERNAME, --username=USERNAME
Authenticate as user.
-p PASSWORD, --password=PASSWORD
Authenticate using password.
-k KEYSPACE, --keyspace=KEYSPACE
Authenticate to the given keyspace.
-f FILE, --file=FILE Execute commands from FILE, then exit
-t TRANSPORT_FACTORY, --transport-factory=TRANSPORT_FACTORY
Use the provided Thrift transport factory function.
--debug Show additional debugging information
--cqlversion=CQLVERSION
Specify a particular CQL version (default: 3.1.1).
Examples: "3.0.3", "3.1.0"
-e EXECUTE, --execute=EXECUTE
Execute the statement and quit.
有关如何使用以前的规范/版本启动cqlsh的文档不正确……您需要使用--cqlversion而不是-2(请参见下面的注释)。然而,正如jbellis的回答中提到的,cql2支持已经从cassandra的更高版本中删除
CQL Shell for Apache Cassandra
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-C, --color Always use color output
--no-color Never use color output
-u USERNAME, --username=USERNAME
Authenticate as user.
-p PASSWORD, --password=PASSWORD
Authenticate using password.
-k KEYSPACE, --keyspace=KEYSPACE
Authenticate to the given keyspace.
-f FILE, --file=FILE Execute commands from FILE, then exit
-t TRANSPORT_FACTORY, --transport-factory=TRANSPORT_FACTORY
Use the provided Thrift transport factory function.
--debug Show additional debugging information
--cqlversion=CQLVERSION
Specify a particular CQL version (default: 3.1.1).
Examples: "3.0.3", "3.1.0"
-e EXECUTE, --execute=EXECUTE
Execute the statement and quit.
有关如何使用以前的规范/版本启动cqlsh的文档不正确……您需要使用--cqlversion而不是-2(请参见下面的注释)。然而,正如jbellis的回答中提到的,cql2支持已经从cassandra的更高版本中删除
CQL Shell for Apache Cassandra
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-C, --color Always use color output
--no-color Never use color output
-u USERNAME, --username=USERNAME
Authenticate as user.
-p PASSWORD, --password=PASSWORD
Authenticate using password.
-k KEYSPACE, --keyspace=KEYSPACE
Authenticate to the given keyspace.
-f FILE, --file=FILE Execute commands from FILE, then exit
-t TRANSPORT_FACTORY, --transport-factory=TRANSPORT_FACTORY
Use the provided Thrift transport factory function.
--debug Show additional debugging information
--cqlversion=CQLVERSION
Specify a particular CQL version (default: 3.1.1).
Examples: "3.0.3", "3.1.0"
-e EXECUTE, --execute=EXECUTE
Execute the statement and quit.
有关如何使用以前的规范/版本启动cqlsh的文档不正确……您需要使用--cqlversion而不是-2(请参见下面的注释)。然而,正如jbellis的回答中提到的,cql2支持已经从cassandra的更高版本中删除
CQL Shell for Apache Cassandra
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-C, --color Always use color output
--no-color Never use color output
-u USERNAME, --username=USERNAME
Authenticate as user.
-p PASSWORD, --password=PASSWORD
Authenticate using password.
-k KEYSPACE, --keyspace=KEYSPACE
Authenticate to the given keyspace.
-f FILE, --file=FILE Execute commands from FILE, then exit
-t TRANSPORT_FACTORY, --transport-factory=TRANSPORT_FACTORY
Use the provided Thrift transport factory function.
--debug Show additional debugging information
--cqlversion=CQLVERSION
Specify a particular CQL version (default: 3.1.1).
Examples: "3.0.3", "3.1.0"
-e EXECUTE, --execute=EXECUTE
Execute the statement and quit.
你好,谢谢你的回复。看起来ODBC驱动程序的测试版支持cassandra 1.2。我尝试了C++示例代码,使用CasDANRA 1.2上的ODBC驱动程序运行查询。所以目前所有的select查询都工作正常,但我无法将记录插入表中。知道这是ODBC驱动程序的限制吗?我的意思是,如果他们还不支持write(使用CQL2)?您好,谢谢您的回复。看起来ODBC驱动程序的测试版支持cassandra 1.2。我尝试了C++示例代码,使用CasDANRA 1.2上的ODBC驱动程序运行查询。所以目前所有的select查询都工作正常,但我无法将记录插入表中。知道这是ODBC驱动程序的限制吗?我的意思是,如果他们还不支持write(使用CQL2)?您好,谢谢您的回复。看起来ODBC驱动程序的测试版支持cassandra 1.2。我尝试了C++示例代码,使用CasDANRA 1.2上的ODBC驱动程序运行查询。所以目前所有的select查询都工作正常,但我无法将记录插入表中。知道这是ODBC驱动程序的限制吗?我的意思是,如果他们还不支持write(使用CQL2)?您好,谢谢您的回复。看起来ODBC驱动程序的测试版支持cassandra 1.2。我尝试了C++示例代码,使用CasDANRA 1.2上的ODBC驱动程序运行查询。所以目前所有的select查询都工作正常,但我无法将记录插入表中。知道这是ODBC驱动程序的限制吗?我的意思是,如果他们还不支持write(使用cql2)?