You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Brandon Williams (JIRA)" <ji...@apache.org> on 2013/10/21 16:59:43 UTC

[jira] [Commented] (CASSANDRA-6139) Cqlsh shouldn't display empty "value alias"

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

Brandon Williams commented on CASSANDRA-6139:
---------------------------------------------

+1

> Cqlsh shouldn't display empty "value alias"
> -------------------------------------------
>
>                 Key: CASSANDRA-6139
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6139
>             Project: Cassandra
>          Issue Type: Bug
>            Reporter: Sylvain Lebresne
>            Assignee: Aleksey Yeschenko
>            Priority: Minor
>             Fix For: 2.0.2
>
>         Attachments: 6139.txt
>
>
> When someone creates:
> {noformat}
> CREATE TABLE foo (
>    k int,
>    v int,
>    PRIMARY KEY (k, v)
> ) WITH COMPACT STORAGE
> {noformat}
> then we internally create a "value alias" (1.2)/"compact value definition" (2.0) with an empty name. Seems that cqlsh don't recognize that fact and display that as:
> {noformat}
> cqlsh:ks> DESC TABLE foo;
> CREATE TABLE foo (
>   k int,
>   v int,
>   "" blob,
>   PRIMARY KEY (k, v)
> ) WITH COMPACT STORAGE AND ...
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.1#6144)