cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <>
Subject Re: sstable2json and key ordering
Date Mon, 28 Jun 2010 15:41:15 GMT

On Sat, Jun 26, 2010 at 12:53 AM, Todd Nine <> wrote:
> Hi all,
>   I'm having a lot of problems getting Lucandra to correctly handle numeric
> document fields.   After examining the keys it has written to the CF, I
> believe it may be an issue of column ordering by bytes.  After dumping the
> CF with the test data using sstable2json, the keys are in opposite order of
> what the current indexReader is expecting for seeking numeric values,
> however it is correct when seeking text values.  My question is, when I dump
> a CF via sstable2json, are the keys from top to bottom of the output file
> the same order as what Cassandra will scan when a KeyRange is given?  In
> other words, does a key range scan from "top" to the "bottom" of the keys
> when you are viewing them in the json?
> Thanks,
> Todd

Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support

View raw message