Why do you need another CF? Is there something wrong with repeating the key
as a column and indexing it?

On Fri, Jul 22, 2011 at 7:40 PM, Patrick Julien <pjul...@gmail.com> wrote:

> Exactly.  In any case, I just answered my own question.  If I need
> range, I can just make another column family where the column name are
> these keys
>
> On Fri, Jul 22, 2011 at 12:37 PM, Nate McCall <n...@datastax.com> wrote:
> >> yes,but why would you use CompositeType if you don't need range query?
> >
> > If you were doing composite keys anyway (common approach with time
> > series data for example), you would not have to write parsing and
> > concatenation code. Particularly useful if you had mixed types in the
> > key.
> >
>

Reply via email to