Re: CREATE COLUMNFAMILY

2012-11-11 Thread Edward Capriolo
type values on the CREATE COLUMNFAMILY command.

RE: CREATE COLUMNFAMILY

2012-11-11 Thread Kevin Burton
...@gmail.com] Sent: Sunday, November 11, 2012 9:37 AM To: user@cassandra.apache.org Subject: Re: CREATE COLUMNFAMILY If you supply metadata cassandra can use it for several things. 1) It validates data on insertion 2) Helps display the information in human readable formats in tools like the CLI

Re: CREATE COLUMNFAMILY

2012-11-11 Thread aaron morton
To: user@cassandra.apache.org Subject: Re: CREATE COLUMNFAMILY If you supply metadata cassandra can use it for several things. 1) It validates data on insertion 2) Helps display the information in human readable formats in tools like the CLI and sstabletojson 3) If you add a built

RE: CREATE COLUMNFAMILY

2012-11-11 Thread Kevin Burton
by adding metadata for foo. Will this work? From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Sunday, November 11, 2012 3:39 PM To: user@cassandra.apache.org Subject: Re: CREATE COLUMNFAMILY Also most idomatic clients use the information so they can return the appropriate type to you

Re: CREATE COLUMNFAMILY

2012-11-11 Thread Jeremiah Jordan
for foo. Will this work? From: aaron morton [mailto:aa...@thelastpickle.com] Sent: Sunday, November 11, 2012 3:39 PM To: user@cassandra.apache.org Subject: Re: CREATE COLUMNFAMILY Also most idomatic clients use the information so they can return the appropriate type to you. Can

Create columnFamily

2011-06-21 Thread Vivek Mishra
I understand that I might be missing something on my end. But somehow I cannot get this working using Cassandra-cli: [default@key1] create column family supusers with comparator=UTF8Type and default_validation_class=UTF8Type and key_validation_class=UTF8Type and column_type=Super;

Re: Create columnFamily

2011-06-21 Thread aaron morton
You've set a comparator for the super column names, but not the sub columns. e.g. [default@dev] set data['31']['address']['city']='noida'; org.apache.cassandra.db.marshal.MarshalException: cannot parse 'city' as hex bytes [default@dev] set data['31']['address'][utf8('city')]='noida'; Value