incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Ellis <jbel...@gmail.com>
Subject Re: Why is column name not printed for Keyspace1.Standard1
Date Tue, 26 Oct 2010 23:15:31 GMT
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 <dln@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.alex@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

Mime
View raw message