Hi,

I've been working on a scala based api for cassandra.  I've built it directly 
on top of thrift.  I'm having a problem getting a slice of a superColumn.  When 
I get a columnOrSuperColumn back, and call 'cos.super_column.name' and 
deserialize the bytes I'm not getting the expected output.

Here's whats in cassandra
-------------------
RowKey: key
=> (super_column=super-col-0,
     (column=column, value=76616c756530, timestamp=1300330948240)
     (column=column1, value=76616c756530, timestamp=1300330948244))
….

and this is the deserialized string

? get_slicesuper-col-0
columnvalue0
.?æ?column1value0
.?æ?super-col-1columnvalue1
.?æ?column1value1
.?æ?super-col-2columnvalue2
.?æ?column1value2
.?æ?super-col-3columnvalue3
.?æ?column1value3
.?æ?

I would expect 
super-col-0

Any ideas on what I'm doing wrong?

Thanks,
Mike

Reply via email to