On Fri, May 7, 2010 at 5:29 AM, Joost Ouwerkerk <jo...@openplaces.org>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, } Mike