Hi folks,

Currently, I working on custom CQL operator that should return the max
timestamp for some partition.

I don't think that scanning of partition for that kind of data is a nice
idea. Instead of it, I thinking about adding a metadata to the partition. I
want to store minTimestamp and maxTimestamp for every partition as it
already done in Memtable`s. That timestamps will be updated on each
mutation operation, that is quite cheap in comparison to full scan.

I quite new to Cassandra codebase and want to get some critics and ideas,
maybe that kind of data already stored somewhere or you have better ideas.
Is my assumption right?

Best,
Artur
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB