incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Heller <i...@zilence.net>
Subject Re: error using get_range_slice with random partitioner
Date Fri, 06 Aug 2010 23:09:18 GMT
>
> Another way to do it is to filter results to exclude columns received
> twice due to being on iteration end points.

Well, depends on the size of your rows, keeping lists of 1mil+ column
names will eventually become reeeeally slow (at least in ruby).

>
> This is useful because it is not always possible to increment or
> decrement (depending on iteration order) a column name (for example,
> in the case of byte strings, because there is no defined maximum
> possible length so the lexicographically "previous" column name might
> be infinitely long).

You only ever need to decrement/increment by one and that should be
pretty simple in almost all cases. Granted it was a little tricky for
TimeUUID, but we are talking bytes here, so there really is only 0-255
+/- 1. If you are talking ASCII just trim that range down a little.

/thomas

Mime
View raw message