cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Ellis (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-2573) CQL: no way to create a column family's key_validation_class
Date Wed, 27 Apr 2011 01:37:03 GMT

    [ 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

Mime
View raw message