But wouldn't using timestamp as row keys cause conflicts? On Tue, 2011-02-15 at 19:11 -0600, Tyler Hobbs wrote: > > What is the best way to retrieve the latest rows from a CF > with OPP. > > Use inverted timestamps (for example, 2^64 - timestamp) with zeros for > padding as the row keys. > > This way you can do a normal forward range scan and get the N latest > rows. > > -- > Tyler Hobbs > Software Engineer, DataStax > Maintainer of the pycassa Cassandra Python client library >
-- Best Regards, Tan Yeh Zheng Software Programmer ____________ ChartNexus® :: Chart Your Success ____________ ChartNexus Pte. Ltd. 15 Enggor Street #10-01 Realty Center Singapore 079716 Tel: (65) 6491 1456 Website: www.chartnexus.com Disclaimer: This email is confidential and intended only for the use of the individual or individuals named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited.