You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Russell Alexander Spitzer (JIRA)" <ji...@apache.org> on 2013/12/03 22:20:36 UTC

[jira] [Created] (CASSANDRA-6443) CQLSH in CQL2 mode (-2) Cannot set compaction_strategy

Russell Alexander Spitzer created CASSANDRA-6443:
----------------------------------------------------

             Summary: CQLSH in CQL2 mode (-2) Cannot set compaction_strategy
                 Key: CASSANDRA-6443
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6443
             Project: Cassandra
          Issue Type: Bug
            Reporter: Russell Alexander Spitzer


Attempting to create a table in CQLSH -2 will always result in SizeTieredCompaction regardless of specified option.

{code}
cqlsh:fun>  CREATE TABLE asciiCFLVL (  key ascii PRIMARY KEY,  asciiA ascii,  asciiB ascii  ) with compaction_strategy_class = 'LeveledCompactionStrategy' ;
cqlsh:fun> DESCRIBE TABLE asciiCFLVL ;

CREATE TABLE asciiCFLVL (
  'key' ascii PRIMARY KEY,
  asciiB ascii,
  asciiA ascii
) WITH
  comment='' AND
  comparator=text 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='LZ4Compressor';
{code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)