Return-Path: Delivered-To: apmail-incubator-cassandra-user-archive@minotaur.apache.org Received: (qmail 20834 invoked from network); 26 Oct 2009 16:36:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 26 Oct 2009 16:36:46 -0000 Received: (qmail 73622 invoked by uid 500); 26 Oct 2009 16:36:46 -0000 Delivered-To: apmail-incubator-cassandra-user-archive@incubator.apache.org Received: (qmail 73595 invoked by uid 500); 26 Oct 2009 16:36:46 -0000 Mailing-List: contact cassandra-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-user@incubator.apache.org Delivered-To: mailing list cassandra-user@incubator.apache.org Received: (qmail 73586 invoked by uid 99); 26 Oct 2009 16:36:46 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 16:36:46 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of jbellis@gmail.com designates 209.85.219.209 as permitted sender) Received: from [209.85.219.209] (HELO mail-ew0-f209.google.com) (209.85.219.209) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 26 Oct 2009 16:36:38 +0000 Received: by ewy5 with SMTP id 5so8030132ewy.12 for ; Mon, 26 Oct 2009 09:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=9nKbTAm8C5xz9vgQxnEvmDoCEKwD6xpWLA7vZsUSU0E=; b=UbBBFlnTogurMO66c2Hbq/1781EyqUR8JePNDtPFHjiCdKXdTkxtDoy10dby/ybPNJ nCsAI2QG6aC4Z36teU9DA9bk8Ay54twKVasGtE1N/VotgPfx3F2QgsivC27MhJESVnns f0efwjzz5iAGnXd+8Vk1yL2Z1dT2lLxPWt/0U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=sUXEvIA7KCqQ3/uA57q95tWitPzQHs8eZlgMTJXAUI3FAi2b6mRSreDn/TNAnyndD1 ayz2AzqW8p8dp95blsJhkHWcpxeaCVGTW/hqo0MTF8Amn7suqDpmbYnirYLwvN8z08KE PzcHUFXbxYZq2cRhx0Sd8yEoHbYJQnNNlgQG0= MIME-Version: 1.0 Received: by 10.216.88.18 with SMTP id z18mr1584654wee.78.1256574978145; Mon, 26 Oct 2009 09:36:18 -0700 (PDT) In-Reply-To: References: From: Jonathan Ellis Date: Mon, 26 Oct 2009 10:35:58 -0600 Message-ID: Subject: Re: are columns of a supercolumn name sorted? To: cassandra-user@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org On Mon, Oct 26, 2009 at 10:25 AM, kevin wrote: > correct me if i am wrong, but i can get only the count [100 default or more] > number of subcolumns right? if you are slicing supercolumns, you always get all the subcolumns of each if you are slicing subcolumns, then yes, but reversed will apply > if i have a large number of subcolumns then it would be better to do on the > server right? no, the point is that the server actually has to change the ordering of the results since thrift is batch-oriented, but the client can just say "for foo in reversed(results)" and you don't have to mutate or re-order anything. -Jonathan