I think he means how the column names are rendered as bytes but the
values are strings.

On Wed, Mar 10, 2010 at 5:22 PM, Brandon Williams <dri...@gmail.com> wrote:
> On Wed, Mar 10, 2010 at 5:09 PM, Bill Au <bill.w...@gmail.com> wrote:
>>
>> I am checking out 0.6.0-beta2 since I need the batch-mutate function.  I
>> am just trying to run the example is the cassandra-cli Wiki:
>>
>> http://wiki.apache.org/cassandra/CassandraCli
>>
>> Here is what I am getting:
>>
>> cassandra> set Keyspace1.Standard1['jsmith']['first'] = 'John'
>> Value inserted.
>> cassandra> get Keyspace1.Standard1['jsmith']
>> => (column=6669727374, value=John, timestamp=1268261785077)
>> Returned 1 results.
>>
>> The column name being returned by get (6669727374) does not match what is
>> set (first).  This is true for all column names.
>>
>> cassandra> set Keyspace1.Standard1['jsmith']['last'] = 'Smith'
>> Value inserted.
>> cassandra> set Keyspace1.Standard1['jsmith']['age'] = '42'
>> Value inserted.
>> cassandra> get Keyspace1.Standard1['jsmith']
>> => (column=6c617374, value=Smith, timestamp=1268262480130)
>> => (column=6669727374, value=John, timestamp=1268261785077)
>> => (column=616765, value=42, timestamp=1268262484133)
>> Returned 3 results.
>>
>> Is this a problem in 0.6.0-beta2 or am I doing anything wrong?
>>
>> Bill
>
> This is normal.  You've added the 'first', 'last', and 'age' columns to the
> 'jsmith' row, and then asked for the entire row, so you got all 3 columns
> back.
> -Brandon

Reply via email to