incubator-cassandra-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Don Smith <>
Subject Suggestion about syntax of CREATE COLUMN FAMILY
Date Fri, 09 Dec 2011 20:41:03 GMT
Currently, the syntax for creating column families is like this:

create column family Users
with comparator=UTF8Type
and default_validation_class=UTF8Type
and key_validation_class=UTF8Type;

It's not clear what "comparator" and "default_validation_class" refer to. Much clearer would

create column family Users
with column_name_comparator=UTF8Type
and column_value_validation_class=UTF8Type
and key_validation_class=UTF8Type;

BTW, instead of "column_name_comparator", I'd actually prefer "column_key_comparator" since
it seems more accurate to call column names "column keys."


View raw message