You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@cassandra.apache.org by Ruby Stevenson <ru...@gmail.com> on 2011/10/02 00:31:33 UTC

UUID cli output

hi all

I am using UUID as my row key, and when examine it in CLI, I was expecting
something like this that get printed:

b2f0da40-ec2c-11e0-0000-242d50cf1fbf

instead, I am seeing something like this:

6338663638383430656264623131653030303030323432643530636631666666

How does this get transformed?

thanks

Ruby

Re: UUID cli output

Posted by Jonathan Ellis <jb...@gmail.com>.
You don't have a key type defined in your schema, so the cli is
showing you the bytes, in hex notation.  Look at "help update column
family" for how to add the uuid key validator.

On Sat, Oct 1, 2011 at 5:31 PM, Ruby Stevenson <ru...@gmail.com> wrote:
> hi all
>
> I am using UUID as my row key, and when examine it in CLI, I was expecting
> something like this that get printed:
>
> b2f0da40-ec2c-11e0-0000-242d50cf1fbf
>
> instead, I am seeing something like this:
>
> 6338663638383430656264623131653030303030323432643530636631666666
>
> How does this get transformed?
>
> thanks
>
> Ruby
>
>



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