Re: how to display column value in human-readable format in 0.7 beta3

2010-11-20 Thread xie jinlin
update column family CommentSent with column_type = 'Super' and comparator=UTF8Type and default_validation_class=UTF8Type and column_metadata=[{column_name:null,validation_class:UTF8Type}]

Re: how to display column value in human-readable format in 0.7 beta3

2010-11-19 Thread Jonathan Ellis
you need to set default_validation_class, or metadata on the individual columns On Fri, Nov 19, 2010 at 1:27 AM, xie jinlin hnxi...@gmail.com wrote: thanks. this is detail info. ColumnFamily: PostInbox (Super)       Columns sorted by:

how to display column value in human-readable format in 0.7 beta3

2010-11-18 Thread xie jinlin
Hi: I get column value from cassandra 0.6 as (column=2WwADF3V3A0A5b, value=1WwACGIHDn0A45, timestamp=1286949750195000)) format but get (column=2WwADF3V3A0A5b, value=3157774143474948446e30413435, timestamp=1286949750195000)) from 0.7 beta3 how can I get the column value in human-readable

Re: how to display column value in human-readable format in 0.7 beta3

2010-11-18 Thread Aaron Morton
Not sure how you are reading the data, but try setting the comparator to ASCII or similar. This will tell Cassandra that the column names are strings. Aaron On 19/11/2010, at 4:47 PM, xie jinlin hnxi...@gmail.com wrote: Hi: I get column value from cassandra 0.6 as

Re: how to display column value in human-readable format in 0.7 beta3

2010-11-18 Thread xie jinlin
thanks. this is detail info. ColumnFamily: PostInbox (Super) Columns sorted by: org.apache.cassandra.db.marshal.UTF8Type/org.apache.cassandra.db.marshal.UTF8Type Subcolumns sorted by: org.apache.cassandra.db.marshal.UTF8Type Row cache size / save period: 0.0/0 Key cache