cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Russell Alexander Spitzer (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CASSANDRA-6443) CQLSH in CQL2 mode (-2) Cannot set compaction_strategy
Date Tue, 03 Dec 2013 21:20:36 GMT
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)

Mime
View raw message