You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2012/12/09 16:41:22 UTC

[jira] [Updated] (CASSANDRA-4827) cqlsh --cql3 unable to describe CF created with cli

     [ https://issues.apache.org/jira/browse/CASSANDRA-4827?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksey Yeschenko updated CASSANDRA-4827:
-----------------------------------------

    Attachment: 4827-1.2.txt
    
> 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
>
>         Attachments: 4827-1.2.txt
>
>
> 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