cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-5560) Improve DESC command for sets
Date Mon, 13 May 2013 14:35:17 GMT

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

Aleksey Yeschenko commented on CASSANDRA-5560:
----------------------------------------------

Something's wrong with your setup.

{noformat}
cqlsh:test> CREATE TABLE test (id int PRIMARY KEY, alist list<varchar>, aset set<int>,
amap map<varint, boolean>);
cqlsh:test> DESC TABLE test;

CREATE TABLE test (
  id int PRIMARY KEY,
  alist list<text>,
  amap map<varint, boolean>,
  aset set<int>
) WITH
  bloom_filter_fp_chance=0.010000 AND
  caching='KEYS_ONLY' AND
  comment='' AND
  dclocal_read_repair_chance=0.000000 AND
  gc_grace_seconds=864000 AND
  read_repair_chance=0.100000 AND
  replicate_on_write='true' AND
  populate_io_cache_on_flush='false' AND
  compaction={'class': 'SizeTieredCompactionStrategy'};
{noformat}

As for that small request - with tab-completion you only have to type 'DESC t[tab] table_name'
to get 'DESC TABLE table_name' (table_name can also be tab-completed).
                
> Improve DESC command for sets
> -----------------------------
>
>                 Key: CASSANDRA-5560
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-5560
>             Project: Cassandra
>          Issue Type: Improvement
>    Affects Versions: 1.2.4
>            Reporter: Ofir P
>            Priority: Minor
>              Labels: describe, set
>
> When doing a Describe column family on a "table" with a "set" column, it doesn't show
the type of the field in the set. 
> (I am just guessing it's probably also for map and list columns)
> Also a small request(I can open another ticket if you prefer), it is possible to make
the "Column family" keywords optional:
> DESC[ribe] [Column Family] cf_name
> So it will be possible like sql to just Desc table_name. (without typing much redundant
expected text)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message