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

Cqlsh should support DESCRIBE on cql3-style composite CFs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Normal
    • Resolution: Fixed
    • 1.1.1
    • None
    • Normal

    Description

      There is a discrepancy between create column family commands and then the output of the describe command:

      cqlsh:test> CREATE TABLE timeline (
              ...     user_id varchar,
              ...     tweet_id uuid,
              ...     author varchar,
              ...     body varchar,
              ...     PRIMARY KEY (user_id, tweet_id)
              ... );
      cqlsh:test> describe columnfamily timeline;
      
      CREATE COLUMNFAMILY timeline (
        user_id text PRIMARY KEY
      ) WITH
        comment='' AND
        comparator='CompositeType(org.apache.cassandra.db.marshal.UUIDType,org.apache.cassandra.db.marshal.UTF8Type)' 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='org.apache.cassandra.io.compress.SnappyCompressor';
      

      Attachments

        1. 4164-fix.patch.txt
          0.4 kB
          paul cannon
        2. 4164.patch-2.txt
          20 kB
          paul cannon

        Activity

          People

            thepaul paul cannon
            nickmbailey Nick Bailey
            paul cannon
            Brandon Williams
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: