You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jonathan Ellis (JIRA)" <ji...@apache.org> on 2011/04/27 03:37:03 UTC

[jira] [Commented] (CASSANDRA-2573) CQL: no way to create a column family's key_validation_class

    [ https://issues.apache.org/jira/browse/CASSANDRA-2573?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025546#comment-13025546 ] 

Jonathan Ellis commented on CASSANDRA-2573:
-------------------------------------------

key validation class would actually be the varchar in "KEY varchar PRIMARY KEY"

> CQL: no way to create a column family's key_validation_class 
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-2573
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-2573
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 0.8 beta 1
>            Reporter: Cathy Daw
>            Priority: Minor
>              Labels: cql
>
> *This is not specified in the documentation, but I am guessing following syntax would look something like ...*
> {noformat}
> CREATE COLUMNFAMILY test (KEY varchar PRIMARY KEY) with key_validation_class = UTF8Type
> CREATE COLUMNFAMILY test (KEY varchar PRIMARY KEY) with key_validation = UTF8Type
> Bad Request: key_validation is not a valid keyword argument for CREATE COLUMNFAMILY
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira