On Wed, Mar 24, 2010 at 4:57 AM, Colin Vipurs <zodiac...@gmail.com> wrote: ... > ColumnFamily { > 'key1' { > 'SuperColumn1' { > 'Column1' : <somevalue> > 'Column2' : <somevalue> > } > 'SuperColumn2' { > 'Column3' : <somevalue> > } > } > 'key2' { > 'SuperColumn1' { > 'Column1' : <somevalue> > } > } > } > > 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?