In 0.7rc1 you can do

get Keyspace1.Standard1['100'] as utf8

if you know that a column defined as bytes has a certain type of data.

On Tue, Oct 26, 2010 at 4:50 PM, Daniel Lundin <d...@eintr.org> wrote:
> Since CompareWith is BytesType, the cli will print the names as (hex) bytes.
>
> Example: "6d6964646c65" => "\x6d\x69\x64\x64\x6c\x65" => "middle"
>
> /d
>
> On Tue, Oct 26, 2010 at 11:42 PM, Joe Alex <joe.m.a...@gmail.com> wrote:
>> With the sample Keyspace1 can somebody explain why the column names
>> does not print in the Standard2 case, is it because of UTF8Type?
>> *SNIP*
>> cassandra> get Keyspace1.Standard1['100']
>> => (column=6d6964646c65, value=M, timestamp=1288128322609000)
>> => (column=6c617374, value=Doe, timestamp=1288128312046000)
>> => (column=6669727374, value=John, timestamp=1288128300504000)
>> Returned 3 results.
>



-- 
Jonathan Ellis
Project Chair, Apache Cassandra
co-founder of Riptano, the source for professional Cassandra support
http://riptano.com

Reply via email to