type values on the CREATE
COLUMNFAMILY command.
...@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
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
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
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
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;
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