cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Smith (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-3660) Change syntax of cli for creating column families to be more intuitive
Date Thu, 22 Dec 2011 15:59:30 GMT
Change syntax of cli for creating column families to be more intuitive
----------------------------------------------------------------------

                 Key: CASSANDRA-3660
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3660
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
            Reporter: Donald Smith
            Priority: Minor


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
be:

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."

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message