You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Aleksey Yeschenko (JIRA)" <ji...@apache.org> on 2013/10/21 10:50:42 UTC
[jira] [Updated] (CASSANDRA-6139) Cqlsh shouldn't display empty
"value alias"
[ https://issues.apache.org/jira/browse/CASSANDRA-6139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksey Yeschenko updated CASSANDRA-6139:
-----------------------------------------
Attachment: 6139.txt
> 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)