'show schema' in cli does not show compression_options
------------------------------------------------------

                 Key: CASSANDRA-3368
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-3368
             Project: Cassandra
          Issue Type: Bug
          Components: Tools
    Affects Versions: 1.0.0
         Environment: Ubuntu Linux amd64
            Reporter: Christian Spriegel
            Priority: Trivial


Hi,

using the cassandra-cli command line tool, I realized that a 'show schema' does 
not print out the compression_options I specified when creating them.
Both, the server and the cli tool, where version 1.0.0-rc2.


Example:

[default@Test] CREATE COLUMN FAMILY Response2 WITH 
key_validation_class=BytesType AND compression_options 
{sstable_compression:DeflateCompressor};


[default@Test] show schema;
create keyspace Test
  with placement_strategy = 'SimpleStrategy'
  and strategy_options = [{replication_factor : 2}];
use Test;
create column family Response2
  with column_type = 'Standard'
  and comparator = 'BytesType'
  and default_validation_class = 'BytesType'
  and key_validation_class = 'BytesType'
  and rows_cached = 0.0
  and row_cache_save_period = 0
  and keys_cached = 200000.0
  and key_cache_save_period = 14400
  and read_repair_chance = 1.0
  and gc_grace = 864000
  and min_compaction_threshold = 4
  and max_compaction_threshold = 32
  and replicate_on_write = true
  and row_cache_provider = 'ConcurrentLinkedHashCacheProvider';


Not really critical, but might be confusing for some people = me ;-)

kind regards,
Christian

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

        

Reply via email to