cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ryan McGuire (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CASSANDRA-5750) CLI can show bad DESCRIBE for CQL3 CF if given the CF explicitly
Date Fri, 12 Jul 2013 16:35:48 GMT

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

Ryan McGuire updated CASSANDRA-5750:
------------------------------------

    Affects Version/s: 2.0
                       1.2.7
    
> CLI can show bad DESCRIBE for CQL3 CF if given the CF explicitly
> ----------------------------------------------------------------
>
>                 Key: CASSANDRA-5750
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5750
>             Project: Cassandra
>          Issue Type: Bug
>    Affects Versions: 1.2.7, 2.0
>            Reporter: Ryan McGuire
>            Priority: Minor
>
> The CLI omits CQL3 tables if you do a regular describe command. It also emits a nice
warning about it. However, if you do a describe with an explicit CF name, it does something
a bit unintuitive:
> {code}
> [default@ryan] describe r1;
> WARNING: CQL3 tables are intentionally omitted from 'describe' output.
> See https://issues.apache.org/jira/browse/CASSANDRA-4377 for details.
>     ColumnFamily: r1
>       Key Validation Class: org.apache.cassandra.db.marshal.Int32Type
>       Default column value validator: org.apache.cassandra.db.marshal.BytesType
>       Cells sorted by: org.apache.cassandra.db.marshal.CompositeType(org.apache.cassandra.db.marshal.UTF8Type)
>       GC grace seconds: 0
>       Compaction min/max thresholds: 0/0
>       Read repair chance: 0.0
>       DC Local Read repair chance: 0.0
>       Populate IO Cache on flush: false
>       Replicate on write: false
>       Caching: keys_only
>       Bloom Filter FP chance: default
>       Built indexes: []
>       Compaction Strategy: null
> {code}
> In this case it emitted the WARNING message, but it still showed the table anyway, and
many of the CF settings are incorrect because of this. Better to show nothing than incorrect
values.

--
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

Mime
View raw message