Does DateTieredCompactionStrategy in Apache Cassandra 2.1.2. work with a
compound clustering key?

More specifically would it work for a table like this where (timestamp,
hash) makes up a compound clustering key:

CREATE TABLE sensordata (
    timeblock int,
    timestamp timestamp,
    hash int,
    data blob,
    PRIMARY KEY (timeblock, timestamp, hash)
)


I believe, that the DateTieredCompactionStrategy would work for PRIMARY KEY
(timeblock, timestamp) -- but does it also work for PRIMARY KEY (timeblock,
timestamp, hash) ?

Thanks in advance for any input,
/Thomas.

Reply via email to