[ 
https://issues.apache.org/jira/browse/CASSANDRA-6898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13942115#comment-13942115
 ] 

Jeremiah Jordan commented on CASSANDRA-6898:
--------------------------------------------

I don't like showing the defaults.  If you do a schema dump from version X and 
restore on version Y where we changed the defaults will give you the old values.

> describing a table with compression should expand the compression options
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-6898
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6898
>             Project: Cassandra
>          Issue Type: Bug
>          Components: API
>            Reporter: Brandon Williams
>            Priority: Minor
>             Fix For: 2.0.7
>
>
> {noformat}
> cqlsh:foo> CREATE TABLE baz ( foo text, bar text, primary KEY (foo)) WITH 
> compression = {};
> cqlsh:foo> DESCRIBE TABLE baz;
> CREATE TABLE baz (
>   foo text,
>   bar text,
>   PRIMARY KEY (foo)
> ) WITH
>   bloom_filter_fp_chance=0.010000 AND
>   caching='KEYS_ONLY' AND
>   comment='' AND
>   dclocal_read_repair_chance=0.000000 AND
>   gc_grace_seconds=864000 AND
>   index_interval=128 AND
>   read_repair_chance=0.100000 AND
>   replicate_on_write='true' AND
>   populate_io_cache_on_flush='false' AND
>   default_time_to_live=0 AND
>   speculative_retry='99.0PERCENTILE' AND
>   memtable_flush_period_in_ms=0 AND
>   compaction={'class': 'SizeTieredCompactionStrategy'} AND
>   compression={};
> cqlsh:foo>
> {noformat}
> From this, you can't tell that LZ4 compression is enabled, even though it is. 
>  It would be more friendly to expand the option to show the defaults.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to