incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mike Malone <>
Subject Re: pagination through slices with deleted keys
Date Fri, 07 May 2010 15:55:52 GMT
On Fri, May 7, 2010 at 5:29 AM, Joost Ouwerkerk <>wrote:

> +1.  There is some disagreement on whether or not the API should
> return empty columns or skip rows when no data is found.  In all of
> our use cases, we would prefer skipped rows.  And based on how
> frequently new cassandra users appear to be confused about the current
> behaviour, this might be a more common use case than the need for
> empty cols.  Perhaps this could be added as an option on
> SlicePredicate ?  (e.g. skipEmpty=true).

That's exactly how we implemented it:

struct SlicePredicate {
    1: optional list<binary> column_names,
    2: optional SliceRange   slice_range,
    3: optional bool ignore_empty_rows=0,


View raw message