incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edward Capriolo <edlinuxg...@gmail.com>
Subject Re: CREATE COLUMNFAMILY
Date Sun, 11 Nov 2012 15:37:09 GMT
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-in secondary index the type information is
needed, strings sort differently 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 <rkevinburton@charter.net> 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 CREATE
> COLUMNFAMILY command.
>
>
>
>

Mime
View raw message