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 2EF9FDD3C for ; Thu, 29 Nov 2012 18:52:59 +0000 (UTC) Received: (qmail 81365 invoked by uid 500); 29 Nov 2012 18:52:59 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 81315 invoked by uid 500); 29 Nov 2012 18:52:58 -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 81294 invoked by uid 99); 29 Nov 2012 18:52:58 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 29 Nov 2012 18:52:58 +0000 Date: Thu, 29 Nov 2012 18:52:58 +0000 (UTC) From: "Sylvain Lebresne (JIRA)" To: commits@cassandra.apache.org Message-ID: <1054480844.41179.1354215178853.JavaMail.jiratomcat@arcas> In-Reply-To: <190067945.60594.1350510964521.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (CASSANDRA-4827) cqlsh --cql3 unable to describe CF created with cli MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CASSANDRA-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sylvain Lebresne updated CASSANDRA-4827: ---------------------------------------- Fix Version/s: (was: 1.2.0) 1.2.0 rc1 > cqlsh --cql3 unable to describe CF created with cli > --------------------------------------------------- > > Key: CASSANDRA-4827 > URL: https://issues.apache.org/jira/browse/CASSANDRA-4827 > Project: Cassandra > Issue Type: Bug > Components: Tools > Affects Versions: 1.1.0 > Reporter: Jonathan Ellis > Assignee: Aleksey Yeschenko > Priority: Minor > Labels: cql3 > Fix For: 1.2.0 rc1 > > > created CF with cli: > {noformat} > create column family playlists > with key_validation_class = UUIDType > and comparator = 'CompositeType(UTF8Type, UTF8Type, UTF8Type)' > and default_validation_class = UUIDType; > {noformat} > Then get this error with cqlsh: > {noformat} > cqlsh:music> describe table playlists; > /Users/jonathan/projects/cassandra/git-trunk/bin/../pylib/cqlshlib/cql3handling.py:771: UnexpectedTableStructure: Unexpected table structure; may not translate correctly to CQL. expected composite key CF to have column aliases, but found none > /Users/jonathan/projects/cassandra/git-trunk/bin/../pylib/cqlshlib/cql3handling.py:794: UnexpectedTableStructure: Unexpected table structure; may not translate correctly to CQL. expected [u'KEY'] length to be 3, but it's 1. comparator='org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type,org.apache.cassandra.db.marshal.UTF8Type)' > CREATE TABLE playlists ( > "KEY" uuid PRIMARY KEY > ) > {noformat} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira