T Jake Luciani created CASSANDRA-9968:
-----------------------------------------

             Summary: cqlsh describe bug 
                 Key: CASSANDRA-9968
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9968
             Project: Cassandra
          Issue Type: Bug
            Reporter: T Jake Luciani
             Fix For: 3.0 beta 1


While trying to fix cqlsh dtests. I noticed quite a big bug.  Not sure if this 
is a python driver bug or cqlsh?

Looks like the column names are now in alphabetical order but the PRIMARY KEY 
stays at the top.

{code}
cqlsh:foo> CREATE TABLE foo.users ( userid text PRIMARY KEY, firstname text, 
lastname text, age int);

cqlsh:foo> DESC TABLE foo.users ;

CREATE TABLE foo.users (
    age int PRIMARY KEY,
    firstname text,
    lastname text,
    userid text
) WITH bloom_filter_fp_chance = 0.01
    AND caching = {'keys': 'ALL', 'rows_per_partition': 'NONE'}
    AND comment = ''
    AND compaction = {'class': 
'org.apache.cassandra.db.compaction.SizeTieredCompactionStrategy'}
    AND compression = {'chunk_length_in_kb': '64', 'class': 
'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 = 2048
    AND memtable_flush_period_in_ms = 0
    AND min_index_interval = 128
    AND read_repair_chance = 0.0
    AND speculative_retry = '99.0PERCENTILE';
{code}



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

Reply via email to