I want to execute some range queries on a table that is structured like:
CREATE TABLE table(
num int,
val1 int,
val2 float,
val3 text,
...
PRIMARY KEY(num)
)
A range query should look like:
SELECT num, val1, val2 FROM table WHERE num>100 AND num<1000;
I read ths post: Performing range queries for cassandra table and now I have problems with using the ByteOrderedPartitoner.
I use the OPSCenter Web Interface and try to create a new cluster. I change the Partitioner and the following error appears:
Error provisioning cluster: A token_map argument of the form {ip: token} is required when not using RandomPartitioner or Murmur3Partitioner
I can not find a token_map argument. What am I doing wrong? What else do I have to do to enable the query?
I hope somebody can help me. Thank you!