Return-Path: Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: (qmail 9261 invoked from network); 24 Mar 2010 12:56:54 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 24 Mar 2010 12:56:54 -0000 Received: (qmail 52597 invoked by uid 500); 24 Mar 2010 12:56:54 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 52576 invoked by uid 500); 24 Mar 2010 12:56:54 -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 52568 invoked by uid 99); 24 Mar 2010 12:56:54 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:56:54 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jdunck@gmail.com designates 74.125.92.24 as permitted sender) Received: from [74.125.92.24] (HELO qw-out-2122.google.com) (74.125.92.24) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Mar 2010 12:56:46 +0000 Received: by qw-out-2122.google.com with SMTP id 8so1971113qwh.61 for ; Wed, 24 Mar 2010 05:56:25 -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 :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=4Z6JulnqHz26DuHvJj7HkFB0ae3xPwZ81DJNPtRDU3U=; b=IV19JQXg24Uxd1uZ/JakFQVqQhxE/W+MHChhHgPFQqZxY1kYSsGJ+9hgunryuMbQbF OsMCClO/ffs2VB0cy3EbNJKLr2Rbuf8qfgEEGqXYAOXkZ/q7NBj0s9agQh7PHwAwtEd2 AaOiygVd4obYkgZJmPxe5qOoGlDxzcOsbHFWk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=A/mq+5pRpmA+QOaSeGg4U0XUOVwAwB+0rv8rYUYLFWAU51pEqeSokDk44LcXf3fNhY iz0RSsED/DPl//rj2G2BL37fmOwhFMHlepEZovNowcMeBjurWr17XO5TRSRKfBnlYoqL 2SGTb7AwEqxTFxcsW2kZmRQzyEoGtU2v0Hhqg= MIME-Version: 1.0 Received: by 10.224.28.1 with SMTP id k1mr87301qac.41.1269435385517; Wed, 24 Mar 2010 05:56:25 -0700 (PDT) In-Reply-To: <11b5960d1003240257x3243e494gf6300ca1f45c7ca@mail.gmail.com> References: <11b5960d1003240257x3243e494gf6300ca1f45c7ca@mail.gmail.com> Date: Wed, 24 Mar 2010 07:56:25 -0500 Message-ID: <2545a92c1003240556p3f9d3a91tacb1148d74eb9327@mail.gmail.com> Subject: Re: Slice Query From: Jeremy Dunck To: user@cassandra.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2010 at 4:57 AM, Colin Vipurs wrote: ... > ColumnFamily { > =A0 'key1' { > =A0 =A0 =A0'SuperColumn1' { > =A0 =A0 =A0 =A0 'Column1' : > =A0 =A0 =A0 =A0 'Column2' : > =A0 =A0 =A0} > =A0 =A0 =A0'SuperColumn2' { > =A0 =A0 =A0 =A0 'Column3' : > =A0 =A0 =A0} > =A0 } > =A0 'key2' { > =A0 =A0 =A0'SuperColumn1' { > =A0 =A0 =A0 =A0 'Column1' : > =A0 =A0 =A0} > =A0 =A0} > } > > Could I get all keys/supercolumns where 'Column1' exists? fyi I'm > using the Hector Java client for my work. I think maybe you're asking because you want to perform schema migration. If so, one option is to have client-side code that mutates to the later schema upon encountering the old schema. Another option is to have a schema-versioning column, and have a job that fetches and mutates records w/ the old schema. If there are other ways of handling schema migration, I'm curious?