cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tyler Hobbs <ty...@datastax.com>
Subject Re: Column Family row keys
Date Wed, 19 Oct 2011 03:03:49 GMT
On Tue, Oct 18, 2011 at 4:30 PM, Jonathan Ellis <jbellis@gmail.com> wrote:

> On Tue, Oct 18, 2011 at 4:10 PM, Tyler Hobbs <tyler@datastax.com> wrote:
> >   * You'll get range ghosts
> > (http://wiki.apache.org/cassandra/FAQ#range_ghosts) with column_count=0.
> > You can avoid them if you set column_count=1.
>
> What heuristic do you use for skipping empty rows?
>

In get_range(), if key_slice.columns is empty and column_count != 0, skip
the row.  It also has the effect (both good and bad) of skipping rows when
column_count > 0 and there's a normal column slice, but the slice is empty.

Mime
View raw message