Re: CREATE COLUMNFAMILY

2012-11-11 Thread Jeremiah Jordan
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 > appro

RE: CREATE COLUMNFAMILY

2012-11-11 Thread Kevin Burton
at 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 t

Re: CREATE COLUMNFAMILY

2012-11-11 Thread aaron morton
ember 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 > C

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 and

Re: CREATE COLUMNFAMILY

2012-11-11 Thread Edward Capriolo
then integer 4) columns in rows are sorted by the column name, strings sort differently then integers On Sat, Nov 10, 2012 at 11:55 PM, Kevin Burton wrote: > I am sure this has been asked before but what is the purpose of entering > key/value or more correctly key name/data type values on the

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

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; 59e2e950-9bd