Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 9F4CB9FDA for ; Wed, 15 Aug 2012 04:11:31 +0000 (UTC) Received: (qmail 44492 invoked by uid 500); 15 Aug 2012 04:11:29 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 44063 invoked by uid 500); 15 Aug 2012 04:11:23 -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 43995 invoked by uid 99); 15 Aug 2012 04:11:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 04:11:23 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=FSL_RCVD_USER,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [203.12.160.181] (HELO mail13.tpgi.com.au) (203.12.160.181) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Aug 2012 04:11:13 +0000 X-TPG-Junk-Status: Message not scanned X-TPG-Antivirus: Passed X-TPG-Abuse: host=broodax.net; ip=60.240.60.130; date=Wed, 15 Aug 2012 14:10:46 +1000 Received: from broodax.net (broodax.net [60.240.60.130]) by mail13.tpgi.com.au (envelope-from david@broodax.net) (8.14.3/8.14.3) with ESMTP id q7F4Ahci004482 for ; Wed, 15 Aug 2012 14:10:46 +1000 Received: from [10.1.0.88] (ppp59-167-132-58.static.internode.on.net [59.167.132.58]) by broodax.net (Postfix) with ESMTPSA id 9BC054147DB1 for ; Wed, 15 Aug 2012 14:10:43 +1000 (EST) From: David Turnbull Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Partial composite result limit possible? Message-Id: <372132B6-F983-4573-902F-232382DD8520@broodax.net> Date: Wed, 15 Aug 2012 14:10:42 +1000 To: user@cassandra.apache.org Mime-Version: 1.0 (Mac OS X Mail 6.0 \(1485\)) X-Mailer: Apple Mail (2.1485) Hi, I have a CF with a composite type (LongType, IntegerType) with some = data like this: RowKey: hihi =3D> (column=3D1000:1, value=3D616263) =3D> (column=3D1000:2, value=3D6465) =3D> (column=3D1000:3, value=3D66) =3D> (column=3D1000:4, value=3D6768) =3D> (column=3D2000:1, value=3D616263) =3D> (column=3D2000:2, value=3D6465) =3D> (column=3D2000:3, value=3D66) =3D> (column=3D2000:4, value=3D6768) I want to query from (1000,0 to 2000,2) such that I get 1000:1, 1000:2, = 2000:1 and 2000:2 back. Is this possible? In pycassa, I can do cf.get('hihi', column_start=3D(1000,0), = column_finish=3D(2000,2) but that gives me 1000:1-4 and 2000:1-2. Specifying a limit of 2 columns for the query just applies to the total = results, i.e. only 1000:1 and 1000:2. I could specify the composite columns fully in the query, but I'm hoping = to query over at least 300 columns, which seems bad.