Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DCF5D1E8C for ; Wed, 27 Apr 2011 01:37:43 +0000 (UTC) Received: (qmail 56038 invoked by uid 500); 27 Apr 2011 01:37:43 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 56013 invoked by uid 500); 27 Apr 2011 01:37:43 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 56005 invoked by uid 99); 27 Apr 2011 01:37:43 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 01:37:43 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 27 Apr 2011 01:37:41 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 2C403B504D for ; Wed, 27 Apr 2011 01:37:03 +0000 (UTC) Date: Wed, 27 Apr 2011 01:37:03 +0000 (UTC) From: "Jonathan Ellis (JIRA)" To: commits@cassandra.apache.org Message-ID: <91635098.4593.1303868223177.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1826801882.4553.1303866303195.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (CASSANDRA-2573) CQL: no way to create a column family's key_validation_class MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ 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