[
https://issues.apache.org/jira/browse/CASSANDRA-8540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tyler Hobbs resolved CASSANDRA-8540.
------------------------------------
Resolution: Fixed
It looks like this was fixed by a recent upgrade of the bundled python driver
that cqlsh uses:
{noformat}
cqlsh:ks1> create table bar (a int primary key, b int) WITH max_index_interval
= 256;
cqlsh:ks1> describe table bar;
CREATE TABLE ks1.bar (
a int PRIMARY KEY,
b int
) 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 dclocal_read_repair_chance = 0.1
AND default_time_to_live = 0
AND gc_grace_seconds = 864000
AND max_index_interval = 256
AND memtable_flush_period_in_ms = 0
AND min_index_interval = 128
AND read_repair_chance = 0.0
AND speculative_retry = '99.0PERCENTILE';
{noformat}
> 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
> Assignee: 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)