cassandra, select via a non primary key
问题 I'm new with cassandra and I met a problem. I created a keyspace demodb and a table users. This table got 3 columns: id (int and primary key), firstname (varchar), name (varchar). this request send me the good result: SELECT * FROM demodb.users WHERE id = 3; but this one: SELECT * FROM demodb.users WHERE firstname = 'francois'; doesn't work and I get the following error message: InvalidRequest: code=2200 [Invalid query] message="No secondary indexes on the restricted columns support the