Ryan McGuire created CASSANDRA-5750:
---------------------------------------
Summary: 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
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