cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cyril auburtin <cyril.aubur...@gmail.com>
Subject primary keys query
Date Fri, 11 May 2012 13:39:54 GMT
Sorry for askign that
but Why is it necessary to always have at least one EQ comparison

[default@Keyspace1] get test where birth_year>1985;
    No indexed columns present in index clause with operator EQ

It oblige to have one dummy indexed column, to do this query

[default@Keyspace1] get test where tag=sea and birth_year>1985;
-------------------
RowKey: sam
=> (column=birth_year, value=1988, timestamp=1336742346059000)

Mime
View raw message