cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adam Holmberg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-9968) cqlsh describe bug
Date Mon, 03 Aug 2015 21:14:05 GMT

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

Adam Holmberg commented on CASSANDRA-9968:
------------------------------------------

For anyone updating, would it be possible to include a git commit in the zip file name when
we're including unreleased versions of the driver? Something like this could work:

{code}
python setup.py egg_info -b-`git rev-parse --short HEAD` sdist --formats=zip
{code}

(Let me know if there's a procedure somewhere and I can add the note.)

> cqlsh describe bug 
> -------------------
>
>                 Key: CASSANDRA-9968
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-9968
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: T Jake Luciani
>              Labels: cqlsh
>             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)

Mime
View raw message