cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rekha Joshi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-8540) CQL: Describe table does not show index interval properties set on create.
Date Sun, 28 Dec 2014 00:09:13 GMT

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

Rekha Joshi commented on CASSANDRA-8540:
----------------------------------------

Looking into this.

> CQL: Describe table does not show index interval properties set on create.
> --------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8540
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8540
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>            Reporter: Rekha Joshi
>              Labels: cql
>             Fix For: 3.0
>
>
> On Mac 10.9.5, Java 1.7, latest cassandra trunk the describe of table does not show index
interval(min/max) properties on a table.
> {noformat}
> cqlsh:playground> CREATE TABLE test (
>               ...     key int PRIMARY KEY
>               ... ) WITH bloom_filter_fp_chance = 0.01
>               ...     AND caching = '{"keys":"ALL", "rows_per_partition":"NONE"}'
>               ...     AND comment = ''
>               ...     AND compaction = {'min_threshold': '4', 'class': 'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy',
'max_threshold': '32'}
>               ...     AND compression = {'sstable_compression': 'org.apache.cassandra.io.compress.LZ4Compressor'}
>               ...     AND default_time_to_live = 0
>               ...     AND gc_grace_seconds = 864000
>               ...     AND max_index_interval = 2048
>               ...     AND memtable_flush_period_in_ms = 0
>               ...     AND min_index_interval = 128
>               ...     AND populate_io_cache_on_flush = false
>               ...     AND read_repair_chance = 0.1
>               ...     AND speculative_retry = '99.0PERCENTILE';
> cqlsh:playground> desc table test;
> CREATE TABLE test (
>   key int,
>   PRIMARY KEY (key)
> ) WITH
>   bloom_filter_fp_chance=0.010000 AND
>   caching='{"keys":"ALL", "rows_per_partition":"NONE"}' AND
>   comment='' AND
>   dclocal_read_repair_chance=0.100000 AND
>   gc_grace_seconds=864000 AND
>   read_repair_chance=0.100000 AND
>   default_time_to_live=0 AND
>   speculative_retry='99.0PERCENTILE' AND
>   memtable_flush_period_in_ms=0 AND
>   compaction={'min_threshold': '4', 'class': 'SizeTieredCompactionStrategy', 'max_threshold':
'32'} AND
>   compression={'sstable_compression': 'LZ4Compressor’};
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message