Uploaded image for project: 'Cassandra'
  1. Cassandra
  2. CASSANDRA-8540

CQL: Describe table does not show index interval properties set on create.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Fix Version/s: 2.2.0 beta 1
    • Component/s: None
    • Labels:
    • Severity:
      Normal

      Description

      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.

      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’};
      

        Attachments

          Activity

            People

            • Assignee:
              rekhajoshm Rekha Joshi
              Reporter:
              rekhajoshm Rekha Joshi
              Authors:
              Rekha Joshi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: