incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Lebresne <sylv...@datastax.com>
Subject Re: Cassandra CQL 3.0.0 Violates UUID Specification
Date Fri, 29 Jun 2012 11:54:48 GMT
On Fri, Jun 29, 2012 at 10:18 AM, Bobby <bobymicroby@gmail.com> wrote:
> According to the CQL 3.0 specification :
>
>  ____A UUID constant is defined by hex{8}-hex{4}-hex{4}-hex{12} where hex is an hexadecimal
character, e.g. [0-9a-fA-F]and {4} is the number of such characters. ____
>
> Cassandra UUID representation  = 28 characters  ,  112 bits  , 14 bytes
>
> But...
>
> A UUID is a ____ 16-byte (128-bit)  ____ number. In its canonical form, a UUID is represented
by 32 hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12
for a _____ total of 36 characters  _______ (32 digits and four hyphens).
>
>
> Standard UUID representation =  36 characters  , 128 bits , 16 bytes

That's a typo of the documentation, thanks for catching that. I've updated it.

--
Sylvain

Mime
View raw message