cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serega Sheypak <>
Subject OrderPreservingPartitioner and compound partition key
Date Wed, 08 Apr 2015 08:27:21 GMT
Hi imagine I have a table "events"
with fields:
ymd int
user_id uuid
ts timestamp

with primary key ((ymd, user_id, ts))
and I set OrderPreservingPartitioner as a partitioner for the table

ymd is int representation for the day: 20150410, 20150411, e.t.c.

Can I select from table using just ymd field?

select * from events
where ymd = 20150410

View raw message