cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tristan Seligmann <mithra...@mithrandi.net>
Subject Re: Playing around with Cassandra ... how did the value changed?
Date Sun, 22 Jan 2012 13:18:53 GMT
On Sun, Jan 22, 2012 at 10:11 AM, Eric Czech <eric@nextbigsound.com> wrote:
> That's likely because there wasn't previously a validation class for the
> "age" column before you added that index.  In other words, the CLI doesn't
> display values in a UTF8 format until you tell it to so I think the value
> "8" is correct and you could check that by running the CLI command "assume
> User validator as utf8" and querying the CF User (without the index) again
> to see if you get "8" as the value for the age column.

Note that 0x38 is the character "8" (in ASCII and UTF-8, at least),
and I believe the CLI shows hex bytes when no validator class is
specified (either by the column family, or an "assume" command being
issued), so this explanation seems consistent.
-- 
mithrandi, i Ainil en-Balandor, a faer Ambar

Mime
View raw message