[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cassandra-user
Subject:    Re: sstable2json and key ordering
From:       Jonathan Ellis <jbellis () gmail ! com>
Date:       2010-06-28 15:41:15
Message-ID: AANLkTikaJoG30fcdKGgGghf6ht9l0zkyZrP0CoI-J4ah () mail ! gmail ! com
[Download RAW message or body]

Yes.

On Sat, Jun 26, 2010 at 12:53 AM, Todd Nine <todd@spidertracks.co.nz> 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
http://riptano.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic