I know that !=
is not supported in CQL select statements. And, I also know that !=
queries are not efficient. But why is it not allowed even if I am prepared to accept filtering?
For example, I want something like this: Select * from foo where PK='something' and CK1='something' and CK2!='something' allow filtering
My reasoning is that the cardinality would be low enough after PK
and CK1
that I don't care if Cassandra has to read all the remaining rows.
Question: apart from doing application side filter, is there any way to do that using CQL only?