Top "Cql" questions

CQL (Cassandra Query Language) is used to interact with and query Cassandra tables.

Coordinator node timed out waiting for replica nodes in Cassandra Datastax while insert data

When I try to Insert data in Cassandra using the below query I am getting the below mentioned error cqlsh:…

cassandra cql datastax-enterprise
Finding distinct values of non Primary Key column in CQL Cassandra

I use the following code for creating table: CREATE KEYSPACE mykeyspace WITH REPLICATION = { 'class' : 'SimpleStrategy', 'replication_factor' : 1 }; USE mykeyspace; CREATE …

select cassandra distinct cql cql3
Example about how to use map cql type with DataStax java driver

I am trying to use the datastax java driver to update and query a column family that has a map …

cassandra cql datastax datastax-java-driver
Querying Cassandra by a partial partition key

In Cassandra, I can create a composite partition key, separate from my clustering key: CREATE TABLE footable ( column1 text, column2 …

cassandra cql cassandra-2.0
RPC timeout in cqlsh - Cassandra

I have 5 nodes in my ring with SimpleTopologyStrategy and replication_factor=3. I inserted 1M rows using stress tool . When am …

cassandra timeout cql
How do you insert custom timeuuid's to cassandra without the now() function?

I was trying to insert a specific timeuuid to cassandra and the only way I managed to insert one was …

cassandra cql cassandra-2.0
Aggregation queries in Cassandra CQL

We are currently evaluating Cassandra as the data store for an analytical application. The plan was to dump raw data …

cassandra cql
Can I create a secondary index on multiple columns in cassandra

Can I create a secondary index on multiple columns in cassandra? like can I do create index my_composite_index …

cassandra cql cql3
Cassandra 2 - list existing indexes with CQL 3

Is there a CQL query to list all existing indexes for particular key space, or column family?

cassandra cql
Cassandra cql select sorting

If I define a table like this using cql: CREATE TABLE scores ( name text, age int, score int, date timestamp, …

cassandra cql cqlsh