Top "Cqlsh" questions

cqlsh is a python-based command line client for executing Cassandra Query Language (CQL)

How to run Cassandra (cqlsh) from anywhere

In Cassandra the official documentation (https://wiki.apache.org/cassandra/GettingStarted) it states, to start the service use 'bin/cassandra …

linux cassandra cqlsh
NoHostAvailable error in cqlsh console

I was able to get rid of this error later but i am not sure what i did is correct. 1 ) …

cassandra cqlsh
Apache Cassandra 3.7 CQLSH 'Unable to connect to any servers'

Apache cassandra version 3.7 is running on Ubuntu server 16.04 fine, all parts of apache cassandra started up no problem, the issue …

cassandra cqlsh
Getting Cassandra datacenter name in cqlsh

How can I get the name of the datacenter in cqlsh? It's required for the constructor of DCAwareRoundRobinPolicy.

cassandra cqlsh
Cassandra CQL - clustering order with multiple clustering columns

I have a column family with primary key definition like this: ... PRIMARY KEY ((website_id, item_id), user_id, date) …

cassandra cql cql3 cqlsh
Creating new table with cqlsh on existing keyspace: Column family ID mismatch

Houston, we have a problem. Trying to create a new table with cqlsh on an existing Cassandra (v2.1.3) keyspace results …

cassandra schema cqlsh
Cassandra: Unable to coerce '2016-04-06 13:06:11.534000' to a formatted date (long)

I am trying to UPDATE an existing item in my cassandra DB using cqlsh: $ > UPDATE allEvents SET "isLastEvent" = True …

cassandra cql cqlsh
Prettifying results of cqlsh commands in Linux terminal

Is there any way to prettify the results of cql commands in the Linux terminal while using the cqlsh utility (…

cassandra cql3 cqlsh
Run cassandra queries from command line

I want to execute cql queries from bash command. [cqlsh 3.1.8 | Cassandra 1.2.19 | CQL spec 3.0.5 | Thrift protocol 19.36.2] [root@hostname ~]# /opt/apache-cassandra-1.2.19/bin/…

bash cassandra cql cqlsh cassandra-cli
Alter cassandra column family primary key using cassandra-cli or CQL

I am using Cassandra 1.2.5. After creating a column family in Cassandra using cassandra-cli, is it possible to modify the primary …

cassandra cql cql3 cassandra-cli cqlsh