Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 33180 invoked from network); 24 Mar 2011 21:08:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Mar 2011 21:08:43 -0000 Received: (qmail 48591 invoked by uid 500); 24 Mar 2011 21:08:41 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 48467 invoked by uid 500); 24 Mar 2011 21:08:40 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 48459 invoked by uid 99); 24 Mar 2011 21:08:40 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:08:40 +0000 X-ASF-Spam-Status: No, hits=0.3 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS,URIBL_RHS_DOB X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.113.200.5] (HELO homiemail-a40.g.dreamhost.com) (208.113.200.5) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 24 Mar 2011 21:08:33 +0000 Received: from homiemail-a40.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTP id CB0A174C06E for ; Thu, 24 Mar 2011 14:08:12 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=thelastpickle.com; h=content-type :mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; q=dns; s= thelastpickle.com; b=RzjSbSbTUNHshfmVMPONAjdK2JhcFaTbHDiZmzEqhro hFx3SH6LVZH0bTx7Mr5czXtcxfmwQUHKtnR8WarfcD7l38/lim4AGse/srP1uWNH /YWHxb6ss5n9p+2BMepj2l9SO7ZBWSOfC7f8HzTWrt3w0q5J55mr3oe9y9zDJaWM = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=thelastpickle.com; h= content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; s= thelastpickle.com; bh=xqlJjaBy2MgQ6UxDw53Iwkv6L8Y=; b=lWIOZB4t/Z XHEJe3eQtftM1PbdvCXIJIBesm6QAOWvtUNs69UysYEr1ASFYbdqkwpgB0TcjHyy K0eSLYxdyK5VTl9CSI3ayu9vvVht6VuFfu6gxcBtbvXHvm3YJcPau+MbI6pWB8dw oQdeAJk/lRvIETHNVNkX++6uoxGfRevrM= Received: from [10.0.1.159] (121-73-157-230.cable.telstraclear.net [121.73.157.230]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: aaron@thelastpickle.com) by homiemail-a40.g.dreamhost.com (Postfix) with ESMTPSA id 7BEB974C064 for ; Thu, 24 Mar 2011 14:08:12 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1082.1) Subject: Re: Option for ordering columns by timestamp in CF From: aaron morton In-Reply-To: Date: Fri, 25 Mar 2011 10:08:09 +1300 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@cassandra.apache.org X-Mailer: Apple Mail (2.1082.1) X-Virus-Checked: Checked by ClamAV on apache.org If you mean order by the column timestamp (as passed by the client) that = it not possible.=20 Can you use your own timestamps as the column name and store them as = long values ?=20 Aaron On 25 Mar 2011, at 09:30, Narendra Sharma wrote: > Cassandra 0.7.4 > Column names in my CF are of type byte[] but I want to order columns = by timestamp. What is the best way to achieve this? Does it make sense = for Cassandra to support ordering of columns by timestamp as option for = a column family irrespective of the column name type? >=20 > Thanks, > Naren