cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "paul cannon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-4164) Cqlsh should support DESCRIBE on cql3-style composite CFs
Date Fri, 27 Apr 2012 18:26:50 GMT

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

paul cannon updated CASSANDRA-4164:
-----------------------------------

    Attachment: 4164.patch-2.txt

Thanks, Sylvain. Branch is updated; new tag is here:

https://github.com/thepaul/cassandra/tree/pending/4164-2

New comprehensive patch attached.
                
> Cqlsh should support DESCRIBE on cql3-style composite CFs
> ---------------------------------------------------------
>
>                 Key: CASSANDRA-4164
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-4164
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.1.0
>            Reporter: Nick Bailey
>            Assignee: paul cannon
>              Labels: cql3
>             Fix For: 1.1.1
>
>         Attachments: 4164.patch-2.txt
>
>
> There is a discrepancy between create column family commands and then the output of the
describe command:
> {noformat}
> cqlsh:test> CREATE TABLE timeline (
>         ...     user_id varchar,
>         ...     tweet_id uuid,
>         ...     author varchar,
>         ...     body varchar,
>         ...     PRIMARY KEY (user_id, tweet_id)
>         ... );
> cqlsh:test> describe columnfamily timeline;
> CREATE COLUMNFAMILY timeline (
>   user_id text PRIMARY KEY
> ) WITH
>   comment='' AND
>   comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)'
AND
>   read_repair_chance=0.100000 AND
>   gc_grace_seconds=864000 AND
>   default_validation=text AND
>   min_compaction_threshold=4 AND
>   max_compaction_threshold=32 AND
>   replicate_on_write=True AND
>   compaction_strategy_class='SizeTieredCompactionStrategy' AND
>   compression_parameters:sstable_compression='org.apache.cassandra.io.compress.SnappyCompressor';
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message