cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Timo Nentwig <timo.nent...@toptarif.de>
Subject Re: cassandra-cli (output) broken for super columns
Date Tue, 08 Feb 2011 14:11:36 GMT

On Feb 8, 2011, at 13:41, Stephen Connolly wrote:

> On 8 February 2011 10:38, Timo Nentwig <timo.nentwig@toptarif.de> wrote:
>> This is not what it's supposed to be like, is it?

Looks alright:

>> [default@foo] get foo[page-field];
>> => (super_column=20110208,
>>     (column=82f4c650-2d53-11e0-a08b-58b035f3f60d, value=msg1, timestamp=1297159430471000)
>>     (column=82f4c650-2d53-11e0-a08b-58b035f3f60e, value=msg2, timestamp=1297159437423000)
>>     (column=82f4c650-2d53-11e0-a08b-58b035f3f60f, value=msg3, timestamp=1297159439855000))
>> Returned 1 results.

Missing first half of column 1 is  and UUID is not printed correctly anymore:

>> [default@foo] get foo[page-field][20110208];
>> , value=msg1, timestamp=1297159430471000)
>> => (column=???P-S???X?5??, value=msg2, timestamp=1297159437423000)
>> => (column=???P-S???X?5??, value=msg3, timestamp=1297159439855000)
>> Returned 3 results.

Still prints only half of the column:

>> [default@foo] get foo[page-field][20110208][82f4c650-2d53-11e0-a08b-58b035f3f60d];
>> , value=msg1, timestamp=1297159430471000)

Applies only to first column?!

>> [default@foo] get foo[page-field][20110208][82f4c650-2d53-11e0-a08b-58b035f3f60e];
>> => (column=???P-S???X?5??, value=msg2, timestamp=1297159437423000)
>> 
>> 
>>        - name: foo
>>          column_type: Super
>>          compare_with: AsciiType
>>          compare_subcolumns_with: TimeUUIDType
>>          default_validation_class: AsciiType
> 
> Is it the ?'s that you are complaining about or is it something else?
> 
> If it is the ?'s have you got a mismatch between the character
> encoding in your shell and UTF-8?

Nope. See above :) Esp. that the first column isn't printed completely.
Mime
View raw message